mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 05:09:00 +00:00
shorten death cooldown
This commit is contained in:
parent
4ebf99117e
commit
d672a10776
2 changed files with 2 additions and 2 deletions
|
|
@ -681,7 +681,7 @@ open class MainActivity : BaseActivity(), SnackbarActivity {
|
|||
val now = Date().time
|
||||
lifecycleScope.launch(context = Dispatchers.Main) {
|
||||
delay(1000L)
|
||||
if (!this@MainActivity.isFinishing && MainNavigationController.isReady && now - lastDeathDialogDisplay > 60000) {
|
||||
if (!this@MainActivity.isFinishing && MainNavigationController.isReady && now - lastDeathDialogDisplay > 10000) {
|
||||
lastDeathDialogDisplay = now
|
||||
MainNavigationController.navigate(R.id.deathActivity)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
NAME=4.3
|
||||
CODE=6421
|
||||
CODE=6441
|
||||
Loading…
Reference in a new issue