You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/flipcash/features/scanner/src/main/kotlin/com/flipcash/app/scanner/internal/ScannerDeepLinkHandler.kt
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,9 @@ internal fun ScannerDeepLinkHandler(
18
18
deepLink:DeeplinkType?,
19
19
previewing:Boolean?,
20
20
session:SessionController,
21
-
navigator:CodeNavigator
21
+
navigator:CodeNavigator,
22
+
onDeeplinkHandled: () ->Unit,
22
23
) {
23
-
var deepLinkSaved by remember {
24
-
mutableStateOf(deepLink)
25
-
}
26
24
27
25
val focusManager =LocalFocusManager.current
28
26
val biometricsState =LocalBiometricsState.current
@@ -36,7 +34,7 @@ internal fun ScannerDeepLinkHandler(
36
34
LaunchedEffect(
37
35
biometricsState,
38
36
previewing,
39
-
deepLinkSaved
37
+
deepLink
40
38
) {
41
39
if (previewing ==true) {
42
40
focusManager.clearFocus()
@@ -48,19 +46,19 @@ internal fun ScannerDeepLinkHandler(
0 commit comments