commit fb179ac1d4f1a00530493ff98ccd0b341ce7534c
parent 7900865c0249b60a192b2c5a86c3fc5495643865
Author: Suhail Saqan <suhail.saqan@gmail.com>
Date: Sat, 5 Aug 2023 12:53:51 -0500
qr: show QRCameraView regardless of same user
Signed-off-by: William Casarin <jb55@jb55.com>
Changelog-Fixed: Show QRCameraView regardless of same user
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/damus/Views/QRCodeView.swift b/damus/Views/QRCodeView.swift
@@ -98,10 +98,8 @@ struct QRCodeView: View {
TabView(selection: $selectedTab) {
QRView
.tag(0)
- if pubkey == damus_state.pubkey {
- QRCameraView()
- .tag(1)
- }
+ QRCameraView()
+ .tag(1)
}
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
.onAppear {