Skip to content

Commit

Permalink
fix: change convertStreamToString method
Browse files Browse the repository at this point in the history
  • Loading branch information
SeptiawanAjiP committed Sep 24, 2023
1 parent b2d1e4e commit 212c8f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class AndroidChartJSView @JvmOverloads constructor(
var line: String?
try {
while (reader.readLine().also { line = it } != null) {
stringBuilder.append(line)
stringBuilder.append(line).append("\n")
}
} catch (e: IOException) {
e.printStackTrace()
Expand Down

0 comments on commit 212c8f7

Please sign in to comment.