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
1 changed files with 0 additions and 2 deletions

View File

@ -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()
} }
} }