Skip to content

Commit

Permalink
fix(subs): use correct sub speed default value
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahmehiz committed Aug 2, 2024
1 parent 611dc8b commit 0dcfd63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0dcfd63

Please sign in to comment.