Skip self update for nightlies

This commit is contained in:
Rahul Kumar Patel
2021-04-07 00:40:41 +05:30
parent 93f6c2a51e
commit e2141aac72
2 changed files with 4 additions and 2 deletions

View File

@@ -125,8 +125,9 @@ class MainActivity : BaseActivity() {
checkExternalStorageManagerPermission()
}
/* Check self update */
checkSelfUpdate()
/* Check self update only for stable release, skip debug & nightlies*/
if (BuildConfig.APPLICATION_ID == Constants.APP_ID)
checkSelfUpdate()
}
private fun attachToolbar() {