File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed
shared/src/androidMain/kotlin/com/powersync/demos Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 11[versions ]
22# # SDK Versions
33android-minSdk = " 24"
4- android-targetSdk = " 34 "
5- android-compileSdk = " 34 "
4+ android-targetSdk = " 35 "
5+ android-compileSdk = " 35 "
66java = " 17"
77
88# Dependencies
9- kotlin = " 2.0.20 "
9+ kotlin = " 2.1.10 "
1010coroutines = " 1.8.1"
11- kotlinx-datetime = " 0.5.0 "
11+ kotlinx-datetime = " 0.6.2 "
1212kotlinx-io = " 0.5.4"
1313ktor = " 3.0.1"
1414uuid = " 0.8.2"
@@ -17,15 +17,15 @@ buildKonfig = "0.15.1"
1717junit = " 4.13.2"
1818
1919compose = " 1.6.11"
20- compose-preview = " 1.7.2 "
21- lifecycle = " 2.8.2 "
20+ compose-preview = " 1.7.8 "
21+ lifecycle = " 2.8.4 "
2222
2323# plugins
24- android-gradle-plugin = " 8.5.1 "
24+ android-gradle-plugin = " 8.9.0 "
2525
2626# Sample - Android
27- androidx-core = " 1.13.1 "
28- androidx-activity-compose = " 1.9.2 "
27+ androidx-core = " 1.15.0 "
28+ androidx-activity-compose = " 1.10.1 "
2929
3030androidx-appcompat = " 1.7.0"
3131androidx-espresso-core = " 3.6.1"
Original file line number Diff line number Diff line change 11package com.powersync.demos
22
3+ import androidx.compose.foundation.layout.WindowInsets
34import androidx.compose.foundation.layout.fillMaxSize
5+ import androidx.compose.foundation.layout.systemBars
6+ import androidx.compose.foundation.layout.windowInsetsPadding
47import androidx.compose.runtime.Composable
58import androidx.compose.ui.Modifier
69import com.powersync.DatabaseDriverFactory
710
811@Composable
9- fun MainView (factory : DatabaseDriverFactory ) = App (factory, Modifier .fillMaxSize())
12+ fun MainView (factory : DatabaseDriverFactory ) = App (
13+ factory,
14+ Modifier .fillMaxSize().windowInsetsPadding(WindowInsets .systemBars)
15+ )
You can’t perform that action at this time.
0 commit comments