qr: dismiss qrcode fullScreenCover on scan
Signed-off-by: William Casarin <jb55@jb55.com> Changelog-Fixed: Dismiss qr screen on scan
This commit is contained in:
1 parent
fb179ac1d4
commit
29bba15230
1 file changed
+1
@@ -258,6 +258,7 @@ struct QRCodeView: View {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + animationDuration) {
|
||||
if let scanResult {
|
||||
damus_state.nav.push(route: Route.ProfileByKey(pubkey: scanResult.pubkey))
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user