Skip to content

Commit c595f58

Browse files
committed
fix: remove unrecognized schemes from uri
1 parent 56ca7bc commit c595f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ class AppViewModel @Inject constructor(
15081508

15091509
val data = uri.toString()
15101510
delay(SCREEN_TRANSITION_DELAY_MS)
1511-
handleScan(data)
1511+
handleScan(data.removeLightningSchemes())
15121512
}
15131513

15141514
// Todo Temporaary fix while these schemes can't be decoded

0 commit comments

Comments
 (0)