From e1de73f36f777735428bb0ceea67fe5fe7fdfe6c Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Mon, 15 Aug 2022 16:41:03 +0200 Subject: [PATCH] make logcat multiline --- .../com/lagradost/cloudstream3/ui/settings/SettingsUpdates.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsUpdates.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsUpdates.kt index ddf4c5c1..03257ebf 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsUpdates.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsUpdates.kt @@ -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 } } -} \ No newline at end of file +}