ui: make when statements exhaustive everywhere

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2022-01-08 15:18:19 +05:30
parent 2bf09f8e2d
commit 342ed5e259
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
2 changed files with 2 additions and 0 deletions

View File

@ -297,6 +297,7 @@ class TunnelEditorFragment : BaseFragment() {
Snackbar.LENGTH_SHORT
).show()
}
is BiometricAuthenticator.Result.Cancelled -> {}
}
}
} else {

View File

@ -98,6 +98,7 @@ class ZipExporterPreference(context: Context, attrs: AttributeSet?) : Preference
Snackbar.LENGTH_SHORT
).show()
}
is BiometricAuthenticator.Result.Cancelled -> {}
}
}
}