mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Update ktlint to 1.5.0.
This commit is contained in:
@@ -423,12 +423,13 @@ object SvrRepository {
|
||||
false
|
||||
}
|
||||
|
||||
newToken = newToken || if (Svr3Migration.shouldWriteToSvr2) {
|
||||
val credentials: AuthCredentials = svr2.authorization()
|
||||
SignalStore.svr.appendSvr2AuthTokenToList(credentials.asBasic())
|
||||
} else {
|
||||
false
|
||||
}
|
||||
newToken = newToken ||
|
||||
if (Svr3Migration.shouldWriteToSvr2) {
|
||||
val credentials: AuthCredentials = svr2.authorization()
|
||||
SignalStore.svr.appendSvr2AuthTokenToList(credentials.asBasic())
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
||||
if (newToken && SignalStore.svr.hasPin()) {
|
||||
BackupManager(AppDependencies.application).dataChanged()
|
||||
|
||||
Reference in New Issue
Block a user