2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

android: Don't reload settings when stopping settings activity

This commit is contained in:
Charles Lombardo 2023-08-29 20:21:29 -04:00
parent 21ad5f5cc5
commit 4701eea646

View file

@ -16,7 +16,6 @@ import androidx.core.view.WindowInsetsCompat
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.navArgs
import com.google.android.material.color.MaterialColors
import org.yuzu.yuzu_emu.NativeLibrary
import java.io.IOException
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding
@ -133,7 +132,6 @@ class SettingsActivity : AppCompatActivity() {
if (isFinishing && settingsViewModel.shouldSave) {
Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...")
Settings.saveSettings()
NativeLibrary.reloadSettings()
}
}