diff --git a/app/src/main/java/live/mehiz/mpvkt/preferences/SubtitlesPreferences.kt b/app/src/main/java/live/mehiz/mpvkt/preferences/SubtitlesPreferences.kt index 306a4cb..fa8f733 100644 --- a/app/src/main/java/live/mehiz/mpvkt/preferences/SubtitlesPreferences.kt +++ b/app/src/main/java/live/mehiz/mpvkt/preferences/SubtitlesPreferences.kt @@ -32,7 +32,7 @@ class SubtitlesPreferences(preferenceStore: PreferenceStore) { val overrideAssSubs = preferenceStore.getBoolean("sub_override_ass") val defaultSubDelay = preferenceStore.getInt("sub_default_delay") - val defaultSubSpeed = preferenceStore.getFloat("sub_default_speed") + val defaultSubSpeed = preferenceStore.getFloat("sub_default_speed", 1f) val defaultSecondarySubDelay = preferenceStore.getInt("sub_default_secondary_delay") } diff --git a/app/src/main/java/live/mehiz/mpvkt/presentation/crash/CrashActivity.kt b/app/src/main/java/live/mehiz/mpvkt/presentation/crash/CrashActivity.kt index ed09e17..49fd6f9 100644 --- a/app/src/main/java/live/mehiz/mpvkt/presentation/crash/CrashActivity.kt +++ b/app/src/main/java/live/mehiz/mpvkt/presentation/crash/CrashActivity.kt @@ -87,7 +87,7 @@ class CrashActivity : ComponentActivity() { exceptionString: String ) { withContext(NonCancellable) { - val file = File(applicationContext.cacheDir, "mptKt_logs.txt") + val file = File(applicationContext.cacheDir, "mpvKt_logs.txt") if (file.exists()) file.delete() file.createNewFile() file.appendText(createLogs())