Skip to content

Commit b1510a6

Browse files
authored
Update compile and target sdk to 35 (#254)
1 parent cd3406e commit b1510a6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
2-
compileSdk = "34"
3-
targetSdk = "34"
2+
compileSdk = "35"
3+
targetSdk = "35"
44
minSdk = "21"
55
gradlePlugin = "8.9.2"
66
kotlin = "2.0.20"

ui-toolkit/src/main/kotlin/io/snabble/sdk/widgets/snabble/version/ui/VersionWidget.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private fun provideAppVersion(context: Context): String {
7676
@Suppress("DEPRECATION")
7777
context.packageManager.getPackageInfo(context.packageName, 0)
7878
}
79-
return packageInfo.versionName
79+
return packageInfo.versionName ?: ""
8080
}
8181

8282
@Preview

ui/src/main/res/layout/snabble_activity_simple_fragment_with_toolbar.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
<com.google.android.material.appbar.AppBarLayout
1010
android:id="@+id/app_bar_layout"
11+
android:fitsSystemWindows="true"
1112
android:layout_width="match_parent"
1213
android:layout_height="wrap_content">
1314

0 commit comments

Comments
 (0)