Skip to content

Commit

Permalink
fix: appendLine instead of append in crash logs
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahmehiz authored Aug 25, 2024
1 parent 81b490d commit de7765d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class CrashActivity : ComponentActivity() {
val logcat = StringBuilder()
// reader.lines() looks much nicer so why not use it on devices that support it?
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
reader.lines().forEach(logcat::append)
reader.lines().forEach(logcat::appendLine)
} else {
reader.readLines().forEach(logcat::appendLine)
}
Expand Down

0 comments on commit de7765d

Please sign in to comment.