Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update ChartsScreen.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
code-a1 authored Apr 19, 2022
1 parent 935ce2e commit 9c0d10f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/src/main/java/com/ivy/wallet/ui/charts/ChartsScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
Expand All @@ -19,6 +20,7 @@ import com.google.accompanist.insets.systemBarsPadding
import com.ivy.design.api.navigation
import com.ivy.design.l0_system.UI
import com.ivy.design.l0_system.style
import com.ivy.wallet.R
import com.ivy.wallet.domain.data.entity.Category
import com.ivy.wallet.domain.fp.charts.ChartPeriod
import com.ivy.wallet.domain.fp.charts.IncomeExpenseChartPoint
Expand Down Expand Up @@ -169,7 +171,7 @@ private fun Toolbar() {
Spacer(Modifier.width(32.dp))

Text(
text = "Charts",
text = stringResource(R.string.charts),
style = UI.typo.h2.style(
fontWeight = FontWeight.ExtraBold
)
Expand Down Expand Up @@ -202,7 +204,7 @@ private fun Period(
modifier = Modifier.clickable {
togglePeriod()
},
text = "Period:",
text = stringResource(R.string.period),
style = UI.typo.b1
)

Expand Down Expand Up @@ -275,4 +277,4 @@ private fun Preview() {
baseCurrencyCode = "BGN",
)
}
}
}

0 comments on commit 9c0d10f

Please sign in to comment.