Skip to content

Commit 5b7521d

Browse files
committed
fix: remove wide label temporarily
1 parent f31f1f4 commit 5b7521d

1 file changed

Lines changed: 15 additions & 19 deletions

File tree

app/src/main/java/to/bitkit/ui/screens/widgets/components/WidgetSizeCarousel.kt

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ import androidx.compose.runtime.Composable
1515
import androidx.compose.ui.Alignment
1616
import androidx.compose.ui.Modifier
1717
import androidx.compose.ui.platform.testTag
18-
import androidx.compose.ui.res.stringResource
19-
import androidx.compose.ui.text.style.TextAlign
2018
import androidx.compose.ui.unit.dp
21-
import to.bitkit.R
22-
import to.bitkit.ui.components.Caption13Up
2319
import to.bitkit.ui.components.VerticalSpacer
2420
import to.bitkit.ui.theme.Colors
2521

2622
private const val PAGE_WIDE = 0
27-
private const val PAGE_SMALL = 1
23+
// private const val PAGE_SMALL = 1
2824

2925
// temporarily removed until small size widgets variants are implemented
3026
private const val PAGE_COUNT = 1
@@ -65,20 +61,20 @@ fun WidgetSizeCarousel(
6561
}
6662

6763
VerticalSpacer(16.dp)
68-
69-
Caption13Up(
70-
text = stringResource(
71-
when (pagerState.currentPage) {
72-
PAGE_SMALL -> R.string.widgets__widget__size_small
73-
else -> R.string.widgets__widget__size_wide
74-
},
75-
),
76-
color = Colors.White64,
77-
textAlign = TextAlign.Center,
78-
modifier = Modifier
79-
.fillMaxWidth()
80-
.testTag("widget_size_label")
81-
)
64+
// temporarily removed until small size widgets variants are implemented
65+
// Caption13Up(
66+
// text = stringResource(
67+
// when (pagerState.currentPage) {
68+
// PAGE_SMALL -> R.string.widgets__widget__size_small
69+
// else -> R.string.widgets__widget__size_wide
70+
// },
71+
// ),
72+
// color = Colors.White64,
73+
// textAlign = TextAlign.Center,
74+
// modifier = Modifier
75+
// .fillMaxWidth()
76+
// .testTag("widget_size_label")
77+
// )
8278

8379
VerticalSpacer(16.dp)
8480

0 commit comments

Comments
 (0)