mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-13 09:12:27 +01:00
android: Remove System Files Warning
This warning is no longer relevant due to changes in how system files are installed
This commit is contained in:
parent
96852525db
commit
d199551bd7
@ -51,7 +51,6 @@ class SystemFilesFragment : Fragment() {
|
|||||||
private val gamesViewModel: GamesViewModel by activityViewModels()
|
private val gamesViewModel: GamesViewModel by activityViewModels()
|
||||||
|
|
||||||
private val REGION_START = "RegionStart"
|
private val REGION_START = "RegionStart"
|
||||||
private val WARNING_SHOWN = "SystemFilesWarningShown"
|
|
||||||
|
|
||||||
private val homeMenuMap: MutableMap<String, String> = mutableMapOf()
|
private val homeMenuMap: MutableMap<String, String> = mutableMapOf()
|
||||||
private var setupStateCached: BooleanArray? = null
|
private var setupStateCached: BooleanArray? = null
|
||||||
@ -77,17 +76,6 @@ class SystemFilesFragment : Fragment() {
|
|||||||
homeViewModel.setNavigationVisibility(visible = false, animated = true)
|
homeViewModel.setNavigationVisibility(visible = false, animated = true)
|
||||||
homeViewModel.setStatusBarShadeVisibility(visible = false)
|
homeViewModel.setStatusBarShadeVisibility(visible = false)
|
||||||
|
|
||||||
val preferences = PreferenceManager.getDefaultSharedPreferences(CitraApplication.appContext)
|
|
||||||
if (!preferences.getBoolean(WARNING_SHOWN, false)) {
|
|
||||||
MessageDialogFragment.newInstance(
|
|
||||||
R.string.home_menu_warning,
|
|
||||||
R.string.home_menu_warning_description
|
|
||||||
).show(childFragmentManager, MessageDialogFragment.TAG)
|
|
||||||
preferences.edit()
|
|
||||||
.putBoolean(WARNING_SHOWN, true)
|
|
||||||
.apply()
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: Remove workaround for text filtering issue in material components when fixed
|
// TODO: Remove workaround for text filtering issue in material components when fixed
|
||||||
// https://github.com/material-components/material-components-android/issues/1464
|
// https://github.com/material-components/material-components-android/issues/1464
|
||||||
binding.dropdownSystemRegionStart.isSaveEnabled = false
|
binding.dropdownSystemRegionStart.isSaveEnabled = false
|
||||||
|
@ -160,8 +160,6 @@
|
|||||||
<string name="show_home_apps">Show HOME menu apps in Applications list</string>
|
<string name="show_home_apps">Show HOME menu apps in Applications list</string>
|
||||||
<string name="run_system_setup">Run System Setup when the HOME Menu is launched</string>
|
<string name="run_system_setup">Run System Setup when the HOME Menu is launched</string>
|
||||||
<string name="home_menu">HOME Menu</string>
|
<string name="home_menu">HOME Menu</string>
|
||||||
<string name="home_menu_warning">System Files Warning</string>
|
|
||||||
<string name="home_menu_warning_description">Due to how slow Android\'s storage access framework is for accessing Azahar\'s files, downloading multiple versions of system files can dramatically slow down loading for applications, save states, and the Applications list. Only download the files that you require to avoid any issues with loading speeds.</string>
|
|
||||||
|
|
||||||
<!-- Generic buttons (Shared with lots of stuff) -->
|
<!-- Generic buttons (Shared with lots of stuff) -->
|
||||||
<string name="generic_buttons">Buttons</string>
|
<string name="generic_buttons">Buttons</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user