diff options
Diffstat (limited to 'ui/src/main/java/com')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt | 2 |
1 files changed, 1 insertions, 1 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 e13184f9..1b54997f 100644 --- a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt +++ b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt @@ -114,7 +114,7 @@ class LogViewerActivity : AppCompatActivity() { val key = KeyPair().privateKey.toHex() LOGS[key] = rawLogLines.toString().toByteArray(Charsets.UTF_8) lastUri = Uri.parse("content://${BuildConfig.APPLICATION_ID}.exported-log/$key") - val shareIntent = ShareCompat.IntentBuilder.from(this) + val shareIntent = ShareCompat.IntentBuilder(this) .setType("text/plain") .setSubject(getString(R.string.log_export_subject)) .setStream(lastUri) |