File tree Expand file tree Collapse file tree
app/src/main/java/to/bitkit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import to.bitkit.ui.components.SecondaryButton
3131import to.bitkit.ui.components.VerticalSpacer
3232import to.bitkit.ui.scaffold.AppTopBar
3333import to.bitkit.ui.scaffold.ScreenColumn
34+ import to.bitkit.ui.screens.widgets.price.label
3435import to.bitkit.ui.theme.Colors
3536
3637@Composable
@@ -166,13 +167,3 @@ private fun SelectableRow(
166167 HorizontalDivider ()
167168 }
168169}
169-
170- @Composable
171- private fun GraphPeriod.label (): String = stringResource(
172- when (this ) {
173- GraphPeriod .ONE_DAY -> R .string.appwidget__price__day
174- GraphPeriod .ONE_WEEK -> R .string.appwidget__price__week
175- GraphPeriod .ONE_MONTH -> R .string.appwidget__price__month
176- GraphPeriod .ONE_YEAR -> R .string.appwidget__price__year
177- },
178- )
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ private fun SelectableRow(
216216}
217217
218218@Composable
219- private fun GraphPeriod.label (): String = stringResource(
219+ fun GraphPeriod.label (): String = stringResource(
220220 when (this ) {
221221 GraphPeriod .ONE_DAY -> R .string.appwidget__price__day
222222 GraphPeriod .ONE_WEEK -> R .string.appwidget__price__week
You can’t perform that action at this time.
0 commit comments