Skip to content

Commit a84233f

Browse files
authored
Merge pull request #858 from synonymdev/feat/ignore-critial-update-on-debug
feat: ignore critical update on debug
2 parents 0178559 + 1221724 commit a84233f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,6 +2396,8 @@ class AppViewModel @Inject constructor(
23962396
fun dismissTimedSheet() = timedSheetManager.dismissCurrentSheet()
23972397

23982398
private suspend fun checkCriticalAppUpdate() = withContext(bgDispatcher) {
2399+
if (Env.isDebug) return@withContext
2400+
23992401
delay(SCREEN_TRANSITION_DELAY)
24002402

24012403
runCatching {

0 commit comments

Comments
 (0)