From 836c367499180832db533b5179a56bd8480b1385 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 28 Oct 2021 00:57:31 +0530 Subject: gradle: upgrade AndroidX dependencies Signed-off-by: Harsh Shandilya --- ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/src/main/java/com/wireguard/android') 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 1b54997f..02d68538 100644 --- a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt +++ b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt @@ -126,9 +126,9 @@ class LogViewerActivity : AppCompatActivity() { } } - override fun onCreateOptionsMenu(menu: Menu?): Boolean { + override fun onCreateOptionsMenu(menu: Menu): Boolean { menuInflater.inflate(R.menu.log_viewer, menu) - saveButton = menu?.findItem(R.id.save_log) + saveButton = menu.findItem(R.id.save_log) return true } -- cgit v1.2.3