Skip to content

Commit

Permalink
Flag immutable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldrabik committed Apr 26, 2023
1 parent a305850 commit 8226b3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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 "com.michaldrabik.muzeipixelartextension"
minSdkVersion 21
targetSdkVersion 33
versionCode 13
versionName "1.2.0"
versionCode 14
versionName "1.2.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

def authorityValue = "com.michaldrabik.muzeipixelartextensionauthority"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ class PixelArtProvider : MuzeiArtProvider() {
override fun getCommands(artwork: Artwork) = when {
Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q -> emptyList()
else -> listOf(
com.google.android.apps.muzei.api.UserCommand(COMMAND_DOWNLOAD_ID,
context?.getString(R.string.text_download))
com.google.android.apps.muzei.api.UserCommand(
COMMAND_DOWNLOAD_ID,
context?.getString(R.string.text_download)
)
)
}

Expand Down

0 comments on commit 8226b3e

Please sign in to comment.