pull/1350/head
deniscerri 2 weeks ago
parent 53292a2149
commit 072fb510c2
No known key found for this signature in database
GPG Key ID: 95C43D517D830350

@ -10,9 +10,9 @@ plugins {
def properties = new Properties()
def versionMajor = 1
def versionMinor = 8
def versionPatch = 9
def versionBuild = 2 // bump for dogfood builds, public betas, etc.
def versionMinor = 9
def versionPatch = 0
def versionBuild = 0 // bump for dogfood builds, public betas, etc.
//WHEN RELEASING BETA KEEP THE SAME VERSION AS LATEST STABLE, SO USERS CAN DOWNGRADE
def isBeta = false

@ -28,18 +28,10 @@ import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
class App : Application(), DefaultLifecycleObserver {
val isForegroundLaunch = CompletableDeferred<Boolean>()
override fun onStart(owner: LifecycleOwner) {
if (!isForegroundLaunch.isCompleted) {
isForegroundLaunch.complete(true)
}
}
class App : Application() {
override fun onCreate() {
super<Application>.onCreate()
super.onCreate()
instance = this
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this@App)

@ -153,6 +153,7 @@ class GenerateYoutubePoTokensFragment : Fragment() {
}
}
builder.setCancelable(false)
builder.setNegativeButton(getString(R.string.cancel)) { dialogInterface: DialogInterface, _: Int ->
this.isChecked = false
updateState()

Loading…
Cancel
Save