summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
index 36925bea..9deed440 100644
--- a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
+++ b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
@@ -157,8 +157,7 @@ class LogViewerActivity : AppCompatActivity() {
builder.append(rawLogLines[i])
builder.append('\n')
}
- val ret = builder.toString().toByteArray(Charsets.UTF_8)
- return ret
+ return builder.toString().toByteArray(Charsets.UTF_8)
}
private suspend fun saveLog() {