mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 11:30:04 +00:00
android: Don't reload settings when stopping settings activity
This commit is contained in:
parent
21ad5f5cc5
commit
4701eea646
@ -16,7 +16,6 @@ import androidx.core.view.WindowInsetsCompat
|
|||||||
import androidx.navigation.fragment.NavHostFragment
|
import androidx.navigation.fragment.NavHostFragment
|
||||||
import androidx.navigation.navArgs
|
import androidx.navigation.navArgs
|
||||||
import com.google.android.material.color.MaterialColors
|
import com.google.android.material.color.MaterialColors
|
||||||
import org.yuzu.yuzu_emu.NativeLibrary
|
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import org.yuzu.yuzu_emu.R
|
import org.yuzu.yuzu_emu.R
|
||||||
import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding
|
import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding
|
||||||
@ -133,7 +132,6 @@ class SettingsActivity : AppCompatActivity() {
|
|||||||
if (isFinishing && settingsViewModel.shouldSave) {
|
if (isFinishing && settingsViewModel.shouldSave) {
|
||||||
Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...")
|
Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...")
|
||||||
Settings.saveSettings()
|
Settings.saveSettings()
|
||||||
NativeLibrary.reloadSettings()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user