Skip to content

Commit fd42d62

Browse files
committed
feat: update bg color
1 parent 9757b2b commit fd42d62

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

app/src/main/java/to/bitkit/appwidget/config/AppWidgetConfigScreen.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package to.bitkit.appwidget.config
22

3+
import androidx.compose.foundation.background
34
import androidx.compose.foundation.clickable
45
import androidx.compose.foundation.layout.Arrangement
56
import androidx.compose.foundation.layout.Column
@@ -66,7 +67,10 @@ private fun PriceConfigContent(
6667
val prefs = state.pricePreferences
6768
val selectedPair = prefs.enabledPairs.firstOrNull() ?: TradingPair.BTC_USD
6869

69-
ScreenColumn {
70+
ScreenColumn(
71+
noBackground = true,
72+
modifier = Modifier.background(Colors.Gray7)
73+
) {
7074
AppTopBar(
7175
titleText = stringResource(R.string.widgets__price__name),
7276
onBackClick = onCancel,

app/src/main/java/to/bitkit/ui/screens/widgets/price/PriceEditScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ fun PriceEditContent(
7676
val selectedPair = preferences.enabledPairs.firstOrNull() ?: TradingPair.BTC_USD
7777

7878
ScreenColumn(
79-
modifier = Modifier.testTag("price_edit_screen")
79+
noBackground = true,
80+
modifier = Modifier
81+
.background(Colors.Gray7)
82+
.testTag("price_edit_screen")
8083
) {
8184
Box(
8285
modifier = Modifier

app/src/main/java/to/bitkit/ui/screens/widgets/price/PricePreviewScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ fun PricePreviewContent(
102102
isLoading: Boolean,
103103
) {
104104
ScreenColumn(
105-
modifier = Modifier.testTag("price_preview_screen")
105+
noBackground = true,
106+
modifier = Modifier
107+
.background(Colors.Gray7)
108+
.testTag("price_preview_screen")
106109
) {
107110
AppTopBar(
108111
titleText = stringResource(R.string.widgets__price__name),

0 commit comments

Comments
 (0)