fix the home tab text colour against the dark theme

This commit is contained in:
austinried
2026-10-04 00:30:06 +00:00
parent 378d6a3b47
commit 82b62b8d9d
2 changed files with 90 additions and 73 deletions
@@ -1,6 +1,9 @@
package com.subtracks.ui.home
import androidx.activity.ComponentActivity
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Surface
import androidx.compose.ui.Modifier
import androidx.compose.ui.test.junit4.v2.createAndroidComposeRule
import androidx.compose.ui.test.onAllNodesWithText
import androidx.compose.ui.test.onRoot
@@ -30,11 +33,13 @@ class HomeScreenshotTest {
fun home() {
composeRule.setContent {
SubtracksTheme {
HomeScreen(
feed = feed(),
coverArt = { _, _ -> null },
playingSongId = null,
)
Surface(modifier = Modifier.fillMaxSize()) {
HomeScreen(
feed = feed(),
coverArt = { _, _ -> null },
playingSongId = null,
)
}
}
}
composeRule.waitUntil(timeoutMillis = 5_000) {