diff --git a/pinlog/src/main/java/com/adityaamolbavadekar/pinlog/PinLog.kt b/pinlog/src/main/java/com/adityaamolbavadekar/pinlog/PinLog.kt index 7464958..991c18f 100644 --- a/pinlog/src/main/java/com/adityaamolbavadekar/pinlog/PinLog.kt +++ b/pinlog/src/main/java/com/adityaamolbavadekar/pinlog/PinLog.kt @@ -684,8 +684,8 @@ object PinLog { } else { val list = (applicationLogDataSource!!.getAllPinLogsAsStringList()) logs = "" - list.forEach { - logs += it + "\n" + for (stringLog in list) { + logs += stringLog + "\n" } } return logs