Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Downgrade min version sdk to 30 (android 11).
And fixed switcher update after getting permissions
  • Loading branch information
n00byara committed Apr 29, 2024
1 parent 1e12d6a commit 9303569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ android {

defaultConfig {
applicationId = "ru.n00byara.notificationcode"
minSdk = 31
minSdk = 30
targetSdk = 34
versionCode = 1
versionName = "3.0.3"
versionName = "3.0.4"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@ class SettingsScreenViewModel(private val application: Application) :
this.settings.getInt(Constants.USE_CASE) == 0 && this.isRootedDevice
this.permissionCardVisibilityUiState.value =
this.settings.getInt(Constants.USE_CASE) == 1 && !permission.checkPermission()
this.permissionAccess.value = this.permission.checkPermission()
}
}

0 comments on commit 9303569

Please sign in to comment.