mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
General tidy-up related to QR codes. (#4865)
* Tidy-up Rust to Swift mapping. * Refactor out a dedicated QRCodeErrorView. * Use the new QRCodeErrorView for most error state snapshots. * Simplify QRCodeErrorView structure. Also updates the background to match the designs. * Fix a small compile error in the unit tests.
This commit is contained in:
@@ -112,6 +112,7 @@ enum TestablePreviewsDictionary {
|
||||
"PollOptionView_Previews" : PollOptionView_Previews.self,
|
||||
"PollRoomTimelineView_Previews" : PollRoomTimelineView_Previews.self,
|
||||
"PollView_Previews" : PollView_Previews.self,
|
||||
"QRCodeErrorView_Previews" : QRCodeErrorView_Previews.self,
|
||||
"QRCodeLoginScreen_Previews" : QRCodeLoginScreen_Previews.self,
|
||||
"ReactionsSummaryView_Previews" : ReactionsSummaryView_Previews.self,
|
||||
"ReadMarkerRoomTimelineView_Previews" : ReadMarkerRoomTimelineView_Previews.self,
|
||||
|
||||
Reference in New Issue
Block a user