Skip to content

Commit 2aa06ae

Browse files
committed
Merge branch 'release/1.2.1' into main
2 parents a9d180b + d31d5fc commit 2aa06ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ android {
2323

2424
defaultConfig {
2525
applicationId = "com.twofasapp.pass"
26-
versionName = "1.2.0"
27-
versionCode = 27
26+
versionName = "1.2.1"
27+
versionCode = 28
2828
}
2929

3030
applicationVariants.all {

feature/main/src/main/java/com/twofasapp/feature/main/ui/main/MainViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ internal class MainViewModel(
132132
authStatusTracker.observeIsAuthenticated().distinctUntilChanged().collect { isAuthenticated ->
133133
if (isAuthenticated && cloudRepository.getSyncInfo().lastSuccessfulSyncTime > 0) {
134134
runSafely { cloudRepository.sync() }
135-
.onSuccess { fetchNotificationsJob?.cancel() }
136-
.onFailure { fetchNotificationsJob?.cancel() }
135+
.onSuccess { syncJob?.cancel() }
136+
.onFailure { syncJob?.cancel() }
137137
}
138138
}
139139
}

0 commit comments

Comments
 (0)