Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 038cabf

Browse files
committed
#309 fix android sdk versions
1 parent 17451b3 commit 038cabf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

widgets-build-logic/src/main/kotlin/android-base-convention.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import com.android.build.gradle.BaseExtension
66

77
configure<BaseExtension> {
8-
compileSdkVersion(30)
8+
compileSdkVersion(33)
99

1010
defaultConfig {
11-
minSdkVersion(21)
12-
targetSdkVersion(30)
11+
minSdkVersion(19)
12+
targetSdkVersion(33)
1313
}
1414
}

widgets/src/androidMain/kotlin/dev/icerock/moko/widgets/core/style/NavigationBarNormal.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fun NavigationBar.Normal.apply(
7676
actions.forEach { barBtn ->
7777
val item = toolbar.menu.add("$barBtn")
7878
item.icon = ContextCompat.getDrawable(context, barBtn.icon.drawableResId)
79-
DrawableCompat.setTint(item.icon, tintColor)
79+
item.icon?.let { DrawableCompat.setTint(it, tintColor) }
8080
item.setOnMenuItemClickListener {
8181
barBtn.action()
8282
true

0 commit comments

Comments
 (0)