diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-01-08 15:18:19 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-01-08 15:30:12 +0530 |
commit | 342ed5e2596c812f1604215ceffb4eb773bc0979 (patch) | |
tree | 9ff639334c7cd44ccec9ebf09b5eb04b483a53c5 | |
parent | 2bf09f8e2d55772d0a9970f4b093f8c930da0376 (diff) |
ui: make when statements exhaustive everywhere
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt | 1 | ||||
-rw-r--r-- | ui/src/main/java/com/wireguard/android/preference/ZipExporterPreference.kt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt b/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt index 716f7b25..6c6f53f9 100644 --- a/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt +++ b/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt @@ -297,6 +297,7 @@ class TunnelEditorFragment : BaseFragment() { Snackbar.LENGTH_SHORT ).show() } + is BiometricAuthenticator.Result.Cancelled -> {} } } } else { diff --git a/ui/src/main/java/com/wireguard/android/preference/ZipExporterPreference.kt b/ui/src/main/java/com/wireguard/android/preference/ZipExporterPreference.kt index 27d69538..65880303 100644 --- a/ui/src/main/java/com/wireguard/android/preference/ZipExporterPreference.kt +++ b/ui/src/main/java/com/wireguard/android/preference/ZipExporterPreference.kt @@ -98,6 +98,7 @@ class ZipExporterPreference(context: Context, attrs: AttributeSet?) : Preference Snackbar.LENGTH_SHORT ).show() } + is BiometricAuthenticator.Result.Cancelled -> {} } } } |