mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Prep work for play store distribution (#301)
Allows for disabling in-app updates and more flexible tag/version codes
This commit is contained in:
parent
df78b42bac
commit
78e6304571
6 changed files with 113 additions and 88 deletions
|
|
@ -140,7 +140,7 @@ class MainActivity : AppCompatActivity() {
|
|||
}
|
||||
val backStack = rememberNavBackStack(initialDestination)
|
||||
navigationManager.backStack = backStack
|
||||
if (appPreferences.autoCheckForUpdates) {
|
||||
if (UpdateChecker.ACTIVE && appPreferences.autoCheckForUpdates) {
|
||||
LaunchedEffect(Unit) {
|
||||
try {
|
||||
updateChecker.maybeShowUpdateToast(appPreferences.updateUrl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue