Reverse Log entries to have newest at the top

This commit is contained in:
Niko Diamadis
2023-01-04 21:40:25 +01:00
parent c3ffcda58d
commit 3aaee57822

View File

@@ -14,7 +14,7 @@ internal object Log {
fun get(): String { fun get(): String {
val logs = HyperLog.getDeviceLogsAsStringList(false) val logs = HyperLog.getDeviceLogsAsStringList(false)
return logs.takeLast(200).joinToString("\n") return logs.takeLast(200).reversed().joinToString("\n")
} }
fun e(message: String) { fun e(message: String) {