mirror of
https://github.com/amwatson/CitraVR.git
synced 2024-09-20 03:11:40 +02:00
Don't throw an exception when settings file is not found
This commit is contained in:
parent
792992fcfc
commit
56b199f451
1 changed files with 4 additions and 0 deletions
|
@ -51,7 +51,11 @@ class Settings {
|
|||
|
||||
private fun loadCitraSettings(view: SettingsActivityView?) {
|
||||
for ((fileName) in configFileSectionsMap) {
|
||||
try {
|
||||
sections.putAll(SettingsFile.readFile(fileName, view))
|
||||
} catch (e: Exception) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue