diff options
Diffstat (limited to 'ui/src/main/java/com')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt | 3 |
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() { |