Skip to content

StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.

refactor: move settings browsing section

David Nashash854fffde132c
diff --git a/app/src/main/java/com/streamvault/app/ui/screens/settings/SettingsBrowsingSection.kt b/feature/settings/src/main/java/com/streamvault/feature/settings/presentation/SettingsBrowsingSection.kt
similarity index 99%
rename from app/src/main/java/com/streamvault/app/ui/screens/settings/SettingsBrowsingSection.kt
rename to feature/settings/src/main/java/com/streamvault/feature/settings/presentation/SettingsBrowsingSection.kt
index 09bdbcbd..906594c3 100644
--- a/app/src/main/java/com/streamvault/app/ui/screens/settings/SettingsBrowsingSection.kt
+++ b/feature/settings/src/main/java/com/streamvault/feature/settings/presentation/SettingsBrowsingSection.kt
@@ -1,6 +1,4 @@
-package com.streamvault.app.ui.screens.settings
-
-import com.streamvault.feature.settings.presentation.*
+package com.streamvault.feature.settings.presentation
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
@@ -29,7 +27,7 @@ import androidx.compose.ui.unit.dp
import androidx.tv.material3.ClickableSurfaceDefaults
import androidx.tv.material3.MaterialTheme
import androidx.tv.material3.Text
-import com.streamvault.app.R
+import com.streamvault.feature.settings.R
import com.streamvault.core.ui.interaction.TvClickableSurface
import com.streamvault.domain.model.VodViewMode
import com.streamvault.core.ui.theme.AccentAmber
@@ -47,7 +45,7 @@ import com.streamvault.domain.model.RemoteColorButton
import com.streamvault.domain.model.RemoteShortcutProfile
import com.streamvault.domain.model.VodDuplicateHandlingMode
-internal fun LazyListScope.settingsBrowsingSection(
+public fun LazyListScope.settingsBrowsingSection(
uiState: SettingsUiState,
viewModel: SettingsViewModel,
context: android.content.Context,
diff --git a/feature/settings/src/main/res/values/strings.xml b/feature/settings/src/main/res/values/strings.xml
index 2bb62f49..652daffd 100644
--- a/feature/settings/src/main/res/values/strings.xml
+++ b/feature/settings/src/main/res/values/strings.xml
@@ -178,6 +178,31 @@
<string name="settings_wifi_quality_cap">Wi-Fi Quality Preference</string>
<string name="settings_zap_auto_revert">Auto-Return on Bad Channel</string>
<string name="settings_zap_auto_revert_subtitle">Automatically return to the previous working channel if a channel stalls or fails to load.</string>
+ <string name="settings_app_language">App Language</string>
+ <string name="settings_customize_home">Customize Home</string>
+ <string name="settings_default_landing_screen">Default landing screen</string>
+ <string name="settings_guide_default_category">Guide default category</string>
+ <string name="settings_hide_decorative_live_rows">Hide decorative provider rows</string>
+ <string name="settings_hide_decorative_live_rows_subtitle">Hide non-playable section headers such as `#### GENERAL HD/4K ####` from Live TV lists and counts.</string>
+ <string name="settings_live_tv_quick_filters">Live TV Quick Filters</string>
+ <string name="settings_remote_shortcuts_subtitle">Works on remotes that send the Android red, green, yellow, and blue color key codes.</string>
+ <string name="settings_remote_shortcuts_title">Colored Remote Buttons</string>
+ <string name="settings_show_all_channels_category">Show All Channels category</string>
+ <string name="settings_show_all_channels_category_subtitle">Display the virtual All Channels group in Live TV and the EPG guide.</string>
+ <string name="settings_show_favorites_category">Show Favorites category</string>
+ <string name="settings_show_favorites_category_subtitle">Display the virtual Favorites group in Live TV browsing.</string>
+ <string name="settings_show_live_source_switcher">Show Live Source Browser</string>
+ <string name="settings_show_live_source_switcher_subtitle">Display the M3U source switcher inside Live TV browsing.</string>
+ <string name="settings_show_recent_channels_category">Show Recent Channels category</string>
+ <string name="settings_show_recent_channels_category_subtitle">Display recently watched channels in Live TV browsing and on the Home screen.</string>
+ <string name="settings_time_format">Time Format</string>
+ <string name="settings_top_navigation">Top navigation</string>
+ <string name="settings_vod_complete_on_open">Load entire VOD category on open</string>
+ <string name="settings_vod_complete_on_open_off">Show the first Stalker page immediately, then load more as needed.</string>
+ <string name="settings_vod_complete_on_open_on">Fetch every Stalker page before finishing the initial load.</string>
+ <string name="settings_vod_infinite_scroll">Infinite scroll</string>
+ <string name="settings_vod_infinite_scroll_off">Show a Load more button for the next page.</string>
+ <string name="settings_vod_infinite_scroll_on">Load the next page as you scroll near the end.</string>
<string name="settings_retry_epg">Retry EPG</string>
<string name="settings_retry_movies">Retry Movies</string>
<string name="settings_retry_series">Retry Series</string>