mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
disable auto updater for debug versions
This commit is contained in:
parent
6db616591c
commit
b5311716a0
@ -95,6 +95,7 @@ class MainSettings : BasePreferenceFragment() {
|
||||
|
||||
// checking for update: yes -> dialog, no -> snackBar
|
||||
update?.setOnPreferenceClickListener {
|
||||
if (BuildConfig.DEBUG) return@setOnPreferenceClickListener true
|
||||
CoroutineScope(Dispatchers.IO).launch {
|
||||
// check for update
|
||||
val updateInfo = try {
|
||||
|
Loading…
Reference in New Issue
Block a user