mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
update equipment overview text
This commit is contained in:
parent
e2c252b4b1
commit
d4c410ba6f
2 changed files with 9 additions and 8 deletions
|
|
@ -262,7 +262,7 @@ fun AvatarOverviewView(
|
|||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
Text(
|
||||
stringResource(R.string.equipped),
|
||||
stringResource(R.string.equipped).uppercase(),
|
||||
style = HabiticaTheme.typography.titleSmall,
|
||||
color = HabiticaTheme.colors.textSecondary,
|
||||
)
|
||||
|
|
@ -271,6 +271,7 @@ fun AvatarOverviewView(
|
|||
stringResource(R.string.equip_automatically),
|
||||
style = HabiticaTheme.typography.bodyMedium,
|
||||
color = HabiticaTheme.colors.textPrimary,
|
||||
modifier = Modifier.padding(end = 6.dp)
|
||||
)
|
||||
Switch(checked = user?.preferences?.autoEquip == true, onCheckedChange = {
|
||||
userViewModel.updateUser("preferences.autoEquip", it)
|
||||
|
|
@ -286,7 +287,7 @@ fun AvatarOverviewView(
|
|||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
Text(
|
||||
stringResource(R.string.costume),
|
||||
stringResource(R.string.costume).uppercase(),
|
||||
style = HabiticaTheme.typography.titleSmall,
|
||||
color = HabiticaTheme.colors.textSecondary,
|
||||
)
|
||||
|
|
@ -295,6 +296,7 @@ fun AvatarOverviewView(
|
|||
stringResource(R.string.wear_costume),
|
||||
style = HabiticaTheme.typography.bodyMedium,
|
||||
color = HabiticaTheme.colors.textPrimary,
|
||||
modifier = Modifier.padding(end = 6.dp),
|
||||
)
|
||||
Switch(checked = user?.preferences?.costume == true, onCheckedChange = {
|
||||
userViewModel.updateUser("preferences.costume", it)
|
||||
|
|
|
|||
|
|
@ -53,6 +53,11 @@ fun HabiticaTheme(
|
|||
fontSize = 16.sp,
|
||||
letterSpacing = 0.1.sp,
|
||||
),
|
||||
titleSmall =
|
||||
TextStyle(
|
||||
fontWeight = FontWeight.Normal,
|
||||
fontSize = 14.sp,
|
||||
),
|
||||
bodyLarge =
|
||||
TextStyle(
|
||||
fontWeight = FontWeight.Medium,
|
||||
|
|
@ -78,12 +83,6 @@ fun HabiticaTheme(
|
|||
fontWeight = FontWeight.Bold,
|
||||
fontSize = 12.sp,
|
||||
),
|
||||
titleSmall =
|
||||
TextStyle(
|
||||
fontWeight = FontWeight.Medium,
|
||||
fontSize = 10.sp,
|
||||
letterSpacing = 1.5.sp,
|
||||
),
|
||||
),
|
||||
shapes =
|
||||
Shapes(
|
||||
|
|
|
|||
Loading…
Reference in a new issue