Android: remove "Saved settings to INI files" toast message

This commit is contained in:
Mateus B. Cassiano 2024-10-19 05:21:30 -04:00
parent 9b8df48d84
commit 5b3eb723e5
No known key found for this signature in database
2 changed files with 0 additions and 14 deletions

View File

@ -49,12 +49,6 @@ class Settings : Closeable {
fun saveSettings(context: Context?) {
if (!isGameSpecific) {
if (context != null) Toast.makeText(
context,
R.string.settings_saved,
Toast.LENGTH_SHORT
).show()
MappingCommon.save()
NativeConfig.save(NativeConfig.LAYER_BASE)
@ -63,12 +57,6 @@ class Settings : Closeable {
NativeLibrary.UpdateGCAdapterScanThread()
} else {
// custom game settings
if (context != null) {
Toast.makeText(
context, context.getString(R.string.settings_saved_game_specific, gameId),
Toast.LENGTH_SHORT
).show()
}
NativeConfig.save(NativeConfig.LAYER_LOCAL_GAME)
}
}

View File

@ -66,8 +66,6 @@
<string name="graphics_settings">Graphics Settings</string>
<string name="gcpad_settings">GameCube Input</string>
<string name="wiimote_settings">Wii Input</string>
<string name="settings_saved">Saved settings to INI files</string>
<string name="settings_saved_game_specific">Saved settings for %1$s</string>
<!-- General Preference Fragment -->
<string name="general_submenu">General</string>