Skip to content

Commit e2adb20

Browse files
committed
Merge branch 'main' into jetcaster/all_form_factors
2 parents 3dbbf09 + ed8deef commit e2adb20

File tree

14 files changed

+76
-218
lines changed

14 files changed

+76
-218
lines changed

Crane/gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ androidx-activity-compose = "1.8.2"
99
androidx-appcompat = "1.6.1"
1010
androidx-benchmark = "1.2.0"
1111
androidx-benchmark-junit4 = "1.2.1"
12-
androidx-compose-bom = "2024.03.00"
12+
androidx-compose-bom = "2024.04.00"
1313
androidx-constraintlayout = "1.0.1"
14-
androidx-corektx = "1.13.0-beta01"
14+
androidx-corektx = "1.13.0-rc01"
1515
androidx-glance = "1.0.0"
1616
androidx-lifecycle-compose = "2.7.0"
1717
androidx-lifecycle-runtime-compose = "2.7.0"
@@ -21,7 +21,7 @@ androidx-test = "1.5.0"
2121
androidx-test-espresso = "3.5.1"
2222
androidx-test-ext-junit = "1.1.5"
2323
androidx-test-ext-truth = "1.5.0"
24-
androidx-window = "1.3.0-alpha03"
24+
androidx-window = "1.3.0-beta01"
2525
androidxHiltNavigationCompose = "1.1.0"
2626
androix-test-uiautomator = "2.2.0"
2727
coil = "2.4.0"
@@ -45,7 +45,7 @@ material = "1.11.0"
4545
# @keep
4646
minSdk = "21"
4747
okhttp = "4.11.0"
48-
robolectric = "4.11.1"
48+
robolectric = "4.12.1"
4949
rome = "1.18.0"
5050
room = "2.6.0"
5151
secrets = "2.0.1"

JetLagged/gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ androidx-activity-compose = "1.8.2"
99
androidx-appcompat = "1.6.1"
1010
androidx-benchmark = "1.2.0"
1111
androidx-benchmark-junit4 = "1.2.1"
12-
androidx-compose-bom = "2024.03.00"
12+
androidx-compose-bom = "2024.04.00"
1313
androidx-constraintlayout = "1.0.1"
14-
androidx-corektx = "1.13.0-beta01"
14+
androidx-corektx = "1.13.0-rc01"
1515
androidx-glance = "1.0.0"
1616
androidx-lifecycle-compose = "2.7.0"
1717
androidx-lifecycle-runtime-compose = "2.7.0"
@@ -21,7 +21,7 @@ androidx-test = "1.5.0"
2121
androidx-test-espresso = "3.5.1"
2222
androidx-test-ext-junit = "1.1.5"
2323
androidx-test-ext-truth = "1.5.0"
24-
androidx-window = "1.3.0-alpha03"
24+
androidx-window = "1.3.0-beta01"
2525
androidxHiltNavigationCompose = "1.1.0"
2626
androix-test-uiautomator = "2.2.0"
2727
coil = "2.4.0"
@@ -45,7 +45,7 @@ material = "1.11.0"
4545
# @keep
4646
minSdk = "21"
4747
okhttp = "4.11.0"
48-
robolectric = "4.11.1"
48+
robolectric = "4.12.1"
4949
rome = "1.18.0"
5050
room = "2.6.0"
5151
secrets = "2.0.1"

JetNews/gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ androidx-activity-compose = "1.8.2"
99
androidx-appcompat = "1.6.1"
1010
androidx-benchmark = "1.2.0"
1111
androidx-benchmark-junit4 = "1.2.1"
12-
androidx-compose-bom = "2024.03.00"
12+
androidx-compose-bom = "2024.04.00"
1313
androidx-constraintlayout = "1.0.1"
14-
androidx-corektx = "1.13.0-beta01"
14+
androidx-corektx = "1.13.0-rc01"
1515
androidx-glance = "1.0.0"
1616
androidx-lifecycle-compose = "2.7.0"
1717
androidx-lifecycle-runtime-compose = "2.7.0"
@@ -21,7 +21,7 @@ androidx-test = "1.5.0"
2121
androidx-test-espresso = "3.5.1"
2222
androidx-test-ext-junit = "1.1.5"
2323
androidx-test-ext-truth = "1.5.0"
24-
androidx-window = "1.3.0-alpha03"
24+
androidx-window = "1.3.0-beta01"
2525
androidxHiltNavigationCompose = "1.1.0"
2626
androix-test-uiautomator = "2.2.0"
2727
coil = "2.4.0"
@@ -45,7 +45,7 @@ material = "1.11.0"
4545
# @keep
4646
minSdk = "21"
4747
okhttp = "4.11.0"
48-
robolectric = "4.11.1"
48+
robolectric = "4.12.1"
4949
rome = "1.18.0"
5050
room = "2.6.0"
5151
secrets = "2.0.1"

Jetcaster/app/src/main/java/com/example/jetcaster/ui/home/Home.kt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@ import androidx.compose.foundation.layout.PaddingValues
3131
import androidx.compose.foundation.layout.Row
3232
import androidx.compose.foundation.layout.Spacer
3333
import androidx.compose.foundation.layout.WindowInsets
34-
import androidx.compose.foundation.layout.WindowInsetsSides
3534
import androidx.compose.foundation.layout.fillMaxSize
3635
import androidx.compose.foundation.layout.fillMaxWidth
3736
import androidx.compose.foundation.layout.height
38-
import androidx.compose.foundation.layout.only
37+
import androidx.compose.foundation.layout.navigationBars
3938
import androidx.compose.foundation.layout.padding
4039
import androidx.compose.foundation.layout.size
41-
import androidx.compose.foundation.layout.systemBars
4240
import androidx.compose.foundation.layout.width
4341
import androidx.compose.foundation.layout.windowInsetsPadding
4442
import androidx.compose.foundation.lazy.LazyColumn
@@ -386,10 +384,7 @@ private fun HomeScreen(
386384
val coroutineScope = rememberCoroutineScope()
387385
val snackbarHostState = remember { SnackbarHostState() }
388386
HomeScreenBackground(
389-
modifier = modifier
390-
.windowInsetsPadding(
391-
WindowInsets.systemBars.only(WindowInsetsSides.Horizontal)
392-
)
387+
modifier = modifier.windowInsetsPadding(WindowInsets.navigationBars)
393388
) {
394389
Scaffold(
395390
topBar = {

Jetcaster/gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ androidx-activity-compose = "1.8.2"
99
androidx-appcompat = "1.6.1"
1010
androidx-benchmark = "1.2.3"
1111
androidx-benchmark-junit4 = "1.2.3"
12-
androidx-compose-bom = "2024.03.00"
12+
androidx-compose-bom = "2024.04.00"
1313
androidx-compose-material3-adaptive = "1.0.0-alpha10"
1414
androidx-constraintlayout = "1.0.1"
15-
androidx-corektx = "1.13.0-beta01"
15+
androidx-corektx = "1.13.0-rc01"
1616
androidx-glance = "1.0.0"
1717
androidx-lifecycle-runtime = "2.7.0"
1818
androidx-lifecycle-compose = "2.7.0"
@@ -25,7 +25,7 @@ androidx-test-ext-junit = "1.1.5"
2525
androidx-test-ext-truth = "1.5.0"
2626
androidx-tv-foundation = "1.0.0-alpha10"
2727
androidx-tv-material = "1.0.0-alpha10"
28-
androidx-window = "1.3.0-alpha03"
28+
androidx-window = "1.3.0-beta01"
2929
androidxHiltNavigationCompose = "1.2.0"
3030
androix-test-uiautomator = "2.3.0"
3131
coil = "2.5.0"
@@ -49,7 +49,7 @@ material = "1.11.0"
4949
# @keep
5050
minSdk = "21"
5151
okhttp = "4.12.0"
52-
robolectric = "4.11.1"
52+
robolectric = "4.12.1"
5353
rome = "1.18.0"
5454
room = "2.6.1"
5555
secrets = "2.0.1"

Jetchat/gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ androidx-activity-compose = "1.8.2"
99
androidx-appcompat = "1.6.1"
1010
androidx-benchmark = "1.2.0"
1111
androidx-benchmark-junit4 = "1.2.1"
12-
androidx-compose-bom = "2024.03.00"
12+
androidx-compose-bom = "2024.04.00"
1313
androidx-constraintlayout = "1.0.1"
14-
androidx-corektx = "1.13.0-beta01"
14+
androidx-corektx = "1.13.0-rc01"
1515
androidx-glance = "1.0.0"
1616
androidx-lifecycle-compose = "2.7.0"
1717
androidx-lifecycle-runtime-compose = "2.7.0"
@@ -21,7 +21,7 @@ androidx-test = "1.5.0"
2121
androidx-test-espresso = "3.5.1"
2222
androidx-test-ext-junit = "1.1.5"
2323
androidx-test-ext-truth = "1.5.0"
24-
androidx-window = "1.3.0-alpha03"
24+
androidx-window = "1.3.0-beta01"
2525
androidxHiltNavigationCompose = "1.1.0"
2626
androix-test-uiautomator = "2.2.0"
2727
coil = "2.4.0"
@@ -45,7 +45,7 @@ material = "1.11.0"
4545
# @keep
4646
minSdk = "21"
4747
okhttp = "4.11.0"
48-
robolectric = "4.11.1"
48+
robolectric = "4.12.1"
4949
rome = "1.18.0"
5050
room = "2.6.0"
5151
secrets = "2.0.1"

Jetsnack/app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,5 @@ dependencies {
121121
androidTestImplementation(libs.androidx.test.ext.junit)
122122
androidTestImplementation(libs.kotlinx.coroutines.test)
123123
androidTestImplementation(libs.androidx.compose.ui.test)
124+
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
124125
}

Jetsnack/app/src/androidTest/java/com/example/jetsnack/AppTest.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ import androidx.compose.ui.test.assertIsDisplayed
2020
import androidx.compose.ui.test.junit4.createAndroidComposeRule
2121
import androidx.compose.ui.test.onNodeWithText
2222
import androidx.compose.ui.test.performClick
23-
import com.example.jetsnack.ui.JetsnackApp
2423
import com.example.jetsnack.ui.MainActivity
25-
import org.junit.Before
2624
import org.junit.Rule
2725
import org.junit.Test
2826

@@ -31,13 +29,6 @@ class AppTest {
3129
@get:Rule
3230
val composeTestRule = createAndroidComposeRule<MainActivity>()
3331

34-
@Before
35-
fun setUp() {
36-
composeTestRule.setContent {
37-
JetsnackApp()
38-
}
39-
}
40-
4132
@Test
4233
fun app_launches() {
4334
// Check app launches at the correct destination

0 commit comments

Comments
 (0)