Remove or replace unnecessary BackHandler calls (#4148)
* Remove/replace `BackHandler` calls: - For `UserProfileView`, remove the redundant `BackHandler` -> `navigateUp()` call. - For `SetupBiometricView`, remove the `enabled = true` parameter, as this is the default value.
This commit is contained in:
committed by
GitHub
parent
f31e648e35
commit
a74a62c090
+1
-1
@@ -31,7 +31,7 @@ fun SetupBiometricView(
|
||||
state: SetupBiometricState,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
BackHandler(true) {
|
||||
BackHandler {
|
||||
state.eventSink(SetupBiometricEvents.UsePin)
|
||||
}
|
||||
HeaderFooterPage(
|
||||
|
||||
Reference in New Issue
Block a user