Android: remove "Saved settings to INI files" toast message
This commit is contained in:
parent
252d3f353a
commit
b87e3edae4
|
@ -53,12 +53,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)
|
||||
|
@ -72,12 +66,6 @@ class Settings : Closeable {
|
|||
}
|
||||
} 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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,8 +63,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>
|
||||
|
|
Loading…
Reference in New Issue