Skip to content

Commit 831b4fc

Browse files
committed
Build with Xcode 16.2
1 parent b7e359f commit 831b4fc

25 files changed

+46
-46
lines changed

Signal/Megaphones/RemoteMegaphoneFetcher.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ private extension RemoteMegaphoneFetcher {
220220
/// fail with a 404, if no translation exists for the given locale string.
221221
private func fetchTranslation(
222222
forMegaphoneManifest manifest: RemoteMegaphoneModel.Manifest,
223-
withLocaleString localeString: String,
223+
withLocaleString localeString: String
224224
) async throws -> RemoteMegaphoneModel.Translation {
225225
return try await Retry.performWithBackoff(
226226
maxAttempts: 3,
@@ -244,7 +244,7 @@ private extension RemoteMegaphoneFetcher {
244244
/// Get a path to the local image file for this translation. Fetches the
245245
/// image if necessary. Returns ``nil`` if this translation has no image.
246246
private func downloadImageIfNecessary(
247-
forTranslation translation: RemoteMegaphoneModel.Translation,
247+
forTranslation translation: RemoteMegaphoneModel.Translation
248248
) async throws -> URL? {
249249
guard let imageRemoteUrlPath = translation.imageRemoteUrlPath else {
250250
return nil

Signal/Preconditions/AppActivePrecondition.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct AppActivePrecondition: Precondition {
1212
init(appContext: AppContext) {
1313
self._precondition = NotificationPrecondition(
1414
notificationName: UIApplication.didBecomeActiveNotification,
15-
isSatisfied: { appContext.isAppForegroundAndActive() },
15+
isSatisfied: { appContext.isAppForegroundAndActive() }
1616
)
1717
}
1818

Signal/Registration/UserInterface/RegistrationPinViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ class RegistrationPinViewController: OWSViewController {
719719
ContactSupportActionSheet.present(
720720
emailFilter: .registrationPINMode(state.contactSupportMode),
721721
logDumper: .fromGlobals(),
722-
fromViewController: self,
722+
fromViewController: self
723723
)
724724
})
725725

Signal/src/ViewControllers/AppSettings/Backups/BackupSettingsViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ private class BackupSettingsViewModel: ObservableObject {
364364
lastBackupDate: Date?,
365365
lastBackupSizeBytes: UInt64?,
366366
backupFrequency: BackupFrequency,
367-
shouldBackUpOnCellular: Bool,
367+
shouldBackUpOnCellular: Bool
368368
) {
369369
self.backupPlanLoadingState = .loading
370370
self.areBackupsEnabled = areBackupsEnabled
@@ -888,7 +888,7 @@ private struct BackupEnabledView: View {
888888
private extension BackupSettingsViewModel {
889889
static func forPreview(
890890
areBackupsEnabled: Bool = true,
891-
planLoadResult: Result<BackupPlanLoadingState.LoadedBackupPlan, Error>,
891+
planLoadResult: Result<BackupPlanLoadingState.LoadedBackupPlan, Error>
892892
) -> BackupSettingsViewModel {
893893
class PreviewActionsDelegate: ActionsDelegate {
894894
private let planLoadResult: Result<BackupPlanLoadingState.LoadedBackupPlan, Error>
@@ -966,7 +966,7 @@ private extension BackupSettingsViewModel {
966966
#Preview("Disabled") {
967967
BackupSettingsView(viewModel: .forPreview(
968968
areBackupsEnabled: false,
969-
planLoadResult: .success(.free),
969+
planLoadResult: .success(.free)
970970
))
971971
}
972972

Signal/src/ViewControllers/AppSettings/Backups/ChooseBackupPlanViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ChooseBackupPlanViewController: HostingController<ChooseBackupPlanView> {
3333

3434
convenience init(
3535
initialPlanSelection: PlanSelection?,
36-
paidPlanDisplayPrice: String,
36+
paidPlanDisplayPrice: String
3737
) {
3838
self.init(
3939
initialPlanSelection: initialPlanSelection,

Signal/src/ViewControllers/HomeView/Chat List/ChatListViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ public class ChatListViewController: OWSViewController, HomeTabViewController {
13441344
ContactSupportActionSheet.present(
13451345
emailFilter: .custom("NotLaunchingNSE"),
13461346
logDumper: .fromGlobals(),
1347-
fromViewController: self,
1347+
fromViewController: self
13481348
)
13491349
}
13501350
))

Signal/util/DebugLogs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct DebugLogDumper {
2121
return Self(
2222
accountManager: DependenciesBridge.shared.tsAccountManager,
2323
appVersion: AppVersionImpl.shared,
24-
db: DependenciesBridge.shared.db,
24+
db: DependenciesBridge.shared.db
2525
)
2626
}
2727

SignalNSE/NSEEnvironment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class NSEEnvironment {
152152
callMessageHandler: NSECallMessageHandler(),
153153
currentCallProvider: CurrentCallNoOpProvider(),
154154
notificationPresenter: NotificationPresenterImpl(),
155-
incrementalMessageTSAttachmentMigratorFactory: NoOpIncrementalMessageTSAttachmentMigratorFactory(),
155+
incrementalMessageTSAttachmentMigratorFactory: NoOpIncrementalMessageTSAttachmentMigratorFactory()
156156
).prepareDatabase()
157157
self.finalContinuation = finalContinuation
158158

SignalServiceKit/Backups/BackupRequestManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ extension BackupRequestManager {
133133
func fetchBackupServiceAuth(
134134
for credentialType: BackupAuthCredentialType,
135135
localAci: Aci,
136-
auth: ChatServiceAuth,
136+
auth: ChatServiceAuth
137137
) async throws -> BackupServiceAuth {
138138
return try await self.fetchBackupServiceAuth(
139139
for: credentialType,

SignalServiceKit/Contacts/ContactSyncAttachmentBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ enum ContactSyncAttachmentBuilder {
146146
familyName: "",
147147
nickname: "",
148148
fullName: "",
149-
contactAvatarHash: nil,
149+
contactAvatarHash: nil
150150
)
151151
}
152152
}

0 commit comments

Comments
 (0)