diff --git a/androidApp/src/androidMain/AndroidManifest.xml b/androidApp/src/androidMain/AndroidManifest.xml index 7367a86..56dab44 100644 --- a/androidApp/src/androidMain/AndroidManifest.xml +++ b/androidApp/src/androidMain/AndroidManifest.xml @@ -14,7 +14,7 @@ android:requestLegacyExternalStorage="true" > diff --git a/gradle.properties b/gradle.properties index bd975bd..048cb37 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,8 +15,8 @@ kotlin.mpp.androidSourceSetLayoutVersion=2 #Android android.useAndroidX=true android.compileSdk=34 -android.targetSdk=34 -android.minSdk=24 +android.targetSdk=23 +android.minSdk=23 # Plugin versions kotlin.version=1.9.23 diff --git a/shared/src/commonMain/kotlin/dev/toastbits/sinksabre/settings/Settings.kt b/shared/src/commonMain/kotlin/dev/toastbits/sinksabre/settings/Settings.kt index d7d47e1..23faf4c 100644 --- a/shared/src/commonMain/kotlin/dev/toastbits/sinksabre/settings/Settings.kt +++ b/shared/src/commonMain/kotlin/dev/toastbits/sinksabre/settings/Settings.kt @@ -27,7 +27,7 @@ class Settings(val context: AppContext): PreferencesGroup(null, context.getPrefs getName = { "Local maps path" }, getDescription = { null }, getDefaultValue = { - if (context.isRunningOnQuest()) "/storage/emulated/0/ModData/com.beatgames.beatsaber/Mods/SongLoader/CustomLevels" + if (context.isRunningOnQuest()) "/storage/emulated/0/ModData/com.beatgames.beatsaber/Mods/SongCore/CustomLevels" else when (Platform.current) { Platform.ANDROID -> "/storage/emulated/0/BeatSaberMaps" Platform.DESKTOP -> context.getFilesDir().resolve("maps").absolutePath