make logcat multiline

This commit is contained in:
Cloudburst 2022-08-15 16:41:03 +02:00 committed by GitHub
parent ce45351399
commit e1de73f36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ class SettingsUpdates : PreferenceFragmentCompat() {
var line: String?
while (bufferedReader.readLine().also { line = it } != null) {
log.append(line)
log.append("${line}\n")
}
} catch (e: Exception) {
logError(e) // kinda ironic
@ -130,4 +130,4 @@ class SettingsUpdates : PreferenceFragmentCompat() {
return@setOnPreferenceClickListener true
}
}
}
}