File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
feature/main/src/main/java/com/twofasapp/feature/main/ui/main Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments