Theme And Color -> App Settings
This commit is contained in:
parent
f27ae94d1a
commit
5801ce681d
4 changed files with 21 additions and 19 deletions
|
|
@ -24,7 +24,7 @@ object Settings {
|
|||
SECTION_INPUT_PLAYER_SIX,
|
||||
SECTION_INPUT_PLAYER_SEVEN,
|
||||
SECTION_INPUT_PLAYER_EIGHT,
|
||||
SECTION_THEME(R.string.preferences_theme),
|
||||
SECTION_APP_SETTINGS(R.string.preferences_app_settings),
|
||||
SECTION_DEBUG(R.string.preferences_debug),
|
||||
SECTION_EDEN_VEIL(R.string.eden_veil),
|
||||
SECTION_APPLETS(R.string.applets_menu);
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ class SettingsFragmentPresenter(
|
|||
MenuTag.SECTION_INPUT_PLAYER_SIX -> addInputPlayer(sl, 5)
|
||||
MenuTag.SECTION_INPUT_PLAYER_SEVEN -> addInputPlayer(sl, 6)
|
||||
MenuTag.SECTION_INPUT_PLAYER_EIGHT -> addInputPlayer(sl, 7)
|
||||
MenuTag.SECTION_THEME -> addThemeSettings(sl)
|
||||
MenuTag.SECTION_APP_SETTINGS -> addThemeSettings(sl)
|
||||
MenuTag.SECTION_DEBUG -> addDebugSettings(sl)
|
||||
MenuTag.SECTION_EDEN_VEIL -> addEdenVeilSettings(sl)
|
||||
MenuTag.SECTION_APPLETS -> addAppletSettings(sl)
|
||||
|
|
|
|||
|
|
@ -86,6 +86,20 @@ class HomeSettingsFragment : Fragment() {
|
|||
}
|
||||
)
|
||||
)
|
||||
add(
|
||||
HomeSetting(
|
||||
R.string.app_settings,
|
||||
R.string.app_settings_description,
|
||||
R.drawable.ic_palette,
|
||||
{
|
||||
val action = HomeNavigationDirections.actionGlobalSettingsActivity(
|
||||
null,
|
||||
Settings.MenuTag.SECTION_APP_SETTINGS
|
||||
)
|
||||
binding.root.findNavController().navigate(action)
|
||||
}
|
||||
)
|
||||
)
|
||||
add(
|
||||
HomeSetting(
|
||||
R.string.preferences_controls,
|
||||
|
|
@ -216,20 +230,6 @@ class HomeSettingsFragment : Fragment() {
|
|||
{ openFileManager() }
|
||||
)
|
||||
)
|
||||
add(
|
||||
HomeSetting(
|
||||
R.string.preferences_theme,
|
||||
R.string.theme_and_color_description,
|
||||
R.drawable.ic_palette,
|
||||
{
|
||||
val action = HomeNavigationDirections.actionGlobalSettingsActivity(
|
||||
null,
|
||||
Settings.MenuTag.SECTION_THEME
|
||||
)
|
||||
binding.root.findNavController().navigate(action)
|
||||
}
|
||||
)
|
||||
)
|
||||
add(
|
||||
HomeSetting(
|
||||
R.string.about,
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@
|
|||
<string name="search_recently_added">Recently added</string>
|
||||
<string name="open_user_folder">Open Eden folder</string>
|
||||
<string name="open_user_folder_description">Manage Eden\'s internal files</string>
|
||||
<string name="theme_and_color_description">Modify the look of the app</string>
|
||||
<string name="app_settings_description">Modify the behavior and look of the app</string>
|
||||
<string name="no_file_manager">No file manager found</string>
|
||||
<string name="notification_no_directory_link">Could not open Eden directory</string>
|
||||
<string name="notification_no_directory_link_description">Please locate the user folder with the file manager\'s side panel manually.</string>
|
||||
|
|
@ -673,7 +673,7 @@
|
|||
<string name="preferences_controls">Controls</string>
|
||||
<string name="preferences_controls_description">Map controller input</string>
|
||||
<string name="preferences_player">Player %d</string>
|
||||
<string name="preferences_theme">Theme and color</string>
|
||||
<string name="preferences_app_settings">App vSettings</string>
|
||||
<string name="preferences_debug">Debug</string>
|
||||
<string name="preferences_debug_description">CPU/GPU debugging, graphics API, fastmem</string>
|
||||
|
||||
|
|
@ -994,10 +994,12 @@
|
|||
<!-- Disk shader cache -->
|
||||
<string name="building_shaders">Building shaders</string>
|
||||
|
||||
<!-- Theme options -->
|
||||
<!-- App options -->
|
||||
<string name="change_app_theme">Change app theme</string>
|
||||
<string name="theme_default">Default</string>
|
||||
<string name="theme_material_you">Material You</string>
|
||||
<string name="app_settings">App Settings</string>
|
||||
<string name="theme_and_color">Theme And Color</string>
|
||||
|
||||
<!-- Theme Modes -->
|
||||
<string name="change_theme_mode">Change theme mode</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue