disable auto updater for debug versions

This commit is contained in:
Bnyro 2022-11-19 09:57:47 +01:00
parent 6db616591c
commit b5311716a0

View File

@ -95,6 +95,7 @@ class MainSettings : BasePreferenceFragment() {
// checking for update: yes -> dialog, no -> snackBar // checking for update: yes -> dialog, no -> snackBar
update?.setOnPreferenceClickListener { update?.setOnPreferenceClickListener {
if (BuildConfig.DEBUG) return@setOnPreferenceClickListener true
CoroutineScope(Dispatchers.IO).launch { CoroutineScope(Dispatchers.IO).launch {
// check for update // check for update
val updateInfo = try { val updateInfo = try {