Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Up version
Browse files Browse the repository at this point in the history
  • Loading branch information
RichyHBM committed Feb 4, 2019
1 parent fd35a81 commit 394e772
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "uk.co.richyhbm.monochromatic"
minSdkVersion 21
targetSdkVersion 28
versionCode 15
versionName "0.7.1"
versionCode 16
versionName "0.8.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ class QuickTilePreferencesActivity : Activity() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
val qsTile = intent.getParcelableExtra<ComponentName>(Intent.EXTRA_COMPONENT_NAME)

Toast.makeText(applicationContext, R.string.toggling_please_wait, Toast.LENGTH_SHORT).show()

if (Permissions.hasSecureSettingsPermission(applicationContext)) {
when (qsTile.className) {
DisableTempTile::class.java.name ->
DisableTempTile::class.java.name -> {
Toast.makeText(applicationContext, R.string.toggling_please_wait, Toast.LENGTH_SHORT).show()
DisableMonochromeForSessionReceiver.disableForSession(applicationContext)

}
}
} else {
Toast.makeText(applicationContext, R.string.permission_missing, Toast.LENGTH_SHORT).show()
Expand Down

0 comments on commit 394e772

Please sign in to comment.