File tree Expand file tree Collapse file tree 2 files changed +28
-5
lines changed
examples/compose/src/commonMain/kotlin/org/asyncstorage/example/sharedstorage Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 1717 run : yarn
1818 - name : test ${{ matrix.test-name }}
1919 run : yarn test:${{ matrix.test-name }}
20+
21+ shared-storage-tests :
22+ name : shared-storage tests
23+ runs-on : ${{ matrix.os }}
24+ strategy :
25+ matrix :
26+ os : [macos-15-xlarge, ubuntu-24.04]
27+ testName :
28+ [cleanTestAndroidHostTest, macosArm64Test, iosSimulatorArm64Test]
29+ exclude :
30+ - testName : cleanTestAndroidHostTest
31+ os : macos-15-xlarge
32+ - testName : macosArm64Test
33+ os : ubuntu-24.04
34+ - testName : iosSimulatorArm64Test
35+ os : ubuntu-24.04
36+
37+ steps :
38+ - uses : actions/checkout@v5
39+ - uses : actions/setup-java@v5
40+ with :
41+ distribution : " temurin"
42+ java-version : " 21"
43+ - name : Setup Gradle
44+ uses : gradle/actions/setup-gradle@v5
45+ - name : Run test ${{ matrix.testName }}
46+ run : |
47+ ./gradlew ${{ matrix.testName }}
Original file line number Diff line number Diff line change 11package org.asyncstorage.example.sharedstorage
22
33import androidx.compose.animation.AnimatedVisibility
4- import androidx.compose.foundation.Image
54import androidx.compose.foundation.background
65import androidx.compose.foundation.layout.Column
76import androidx.compose.foundation.layout.fillMaxSize
@@ -13,10 +12,7 @@ import androidx.compose.material3.Text
1312import androidx.compose.runtime.*
1413import androidx.compose.ui.Alignment
1514import androidx.compose.ui.Modifier
16- import org.jetbrains.compose.resources.painterResource
1715import org.jetbrains.compose.ui.tooling.preview.Preview
18- import rnasyncstorage.examples.example_compose.generated.resources.Res
19- import rnasyncstorage.examples.example_compose.generated.resources.compose_multiplatform
2016
2117@Composable
2218@Preview
@@ -36,7 +32,6 @@ fun App() {
3632 modifier = Modifier .fillMaxWidth(),
3733 horizontalAlignment = Alignment .CenterHorizontally ,
3834 ) {
39- Image (painterResource(Res .drawable.compose_multiplatform), null )
4035 Text (" Hello world" )
4136 }
4237 }
You can’t perform that action at this time.
0 commit comments