mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30: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
|
// 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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user