Skip to content

Refactor QR code pages

Melvin Keskin requested to merge melvo/kaidan:refactor/qr-code-pages into Kaidan/0.7
  • Introduce ExplanationTogglePage for pages with a button for toggling the explanation area
  • Use ExplainedContentPage as a more generic basis for pages with explained content
  • AccountTransferPage: Use states for displaying explanation, QR code and plain text
  • AccountTransferPage: Set width used by primary and secondary button as QR code's maximum width
  • AccountTransferPage: Align buttons for copying JID and password by 'Qt.AlignRight' instead of using placeholders
  • QrCodeScanner: Remove unused alignment property
  • ExplainedContentPage: Remove unused import
  • Align all items correctly

Co-authored-by: Jonah Brüchert jbb@kaidan.im

Edited by Melvin Keskin

Merge request reports