From 08d719ab9cbdfdb12e1a2f6d98acb88cf278b827 Mon Sep 17 00:00:00 2001 From: KhooLy <73142442+KhooLy@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:34:50 +0300 Subject: [PATCH] Apply FluxaDisplay to mobile settings heading and label texts Section labels, row titles, display names, watch-time counters, and section headers now use FluxaDisplay instead of the default system sans-serif, aligning settings visual hierarchy with the rest of the app. --- .../ui/catalog/mobile/settings/MobileSettingsComponents.kt | 7 ++++++- .../mobile/settings/MobileSettingsDetailComponents.kt | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsComponents.kt b/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsComponents.kt index 49735b9..99f7c0a 100644 --- a/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsComponents.kt +++ b/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsComponents.kt @@ -226,6 +226,7 @@ internal fun MobileSettingsHub( Text( text = AppStrings.t(lang, "nav.settings"), color = colors.text, + fontFamily = FluxaDisplay, fontSize = 28.sp, fontWeight = FontWeight.Bold ) @@ -245,6 +246,7 @@ internal fun MobileSettingsHub( Text( text = section.label, color = colors.mutedText, + fontFamily = FluxaDisplay, fontSize = 11.sp, fontWeight = FontWeight.SemiBold, letterSpacing = 0.6.sp, @@ -318,6 +320,7 @@ private fun MobileWatchedContentCounter(duration: Long, lang: String) { Text( text = AppStrings.t(lang, "settings.watch_time").uppercase(AppStrings.locale(lang)), color = colors.text, + fontFamily = FluxaDisplay, fontSize = 20.sp, fontWeight = FontWeight.Bold, modifier = Modifier.fillMaxWidth(), @@ -369,6 +372,7 @@ private fun WatchedCounterPart( Text( text = value.toString(), color = colors.text, + fontFamily = FluxaDisplay, fontSize = 20.sp, fontWeight = FontWeight.Bold, maxLines = 1 @@ -480,7 +484,7 @@ internal fun MobileSettingsRow( } } Column(modifier = Modifier.weight(1f)) { - Text(text = title, color = colors.text.copy(alpha = 0.94f), fontSize = 15.sp, fontWeight = FontWeight.SemiBold) + Text(text = title, color = colors.text.copy(alpha = 0.94f), fontFamily = FluxaDisplay, fontSize = 15.sp, fontWeight = FontWeight.SemiBold) if (subtitle.isNotBlank()) { Text( text = subtitle, @@ -545,6 +549,7 @@ private fun MobileSettingsProfileHeader( Text( text = profile.displayName, color = colors.text, + fontFamily = FluxaDisplay, fontSize = 17.sp, fontWeight = FontWeight.Bold ) diff --git a/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsDetailComponents.kt b/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsDetailComponents.kt index 7e13d89..9edefa7 100644 --- a/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsDetailComponents.kt +++ b/app/src/main/java/com/fluxa/app/ui/catalog/mobile/settings/MobileSettingsDetailComponents.kt @@ -68,6 +68,7 @@ internal fun MobileSettingsSection( Text( text = title, color = Color.White.copy(alpha = 0.64f), + fontFamily = FluxaDisplay, fontSize = 14.sp, fontWeight = FontWeight.Bold ) @@ -91,6 +92,7 @@ internal fun MobileSettingsGroup( Text( text = it, color = colors.mutedText, + fontFamily = FluxaDisplay, fontSize = 11.sp, fontWeight = FontWeight.SemiBold, modifier = Modifier.padding(start = 4.dp) @@ -294,6 +296,7 @@ internal fun MobileCollapsibleSettingsGroup( Text( text = title, color = colors.mutedText, + fontFamily = FluxaDisplay, fontSize = 11.sp, fontWeight = FontWeight.SemiBold, modifier = Modifier.weight(1f) @@ -301,6 +304,7 @@ internal fun MobileCollapsibleSettingsGroup( Text( text = count.toString(), color = colors.mutedText.copy(alpha = 0.62f), + fontFamily = FluxaDisplay, fontSize = 11.sp, fontWeight = FontWeight.SemiBold )