Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: make qrcode view font color white #1653

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions damus/Views/QRCodeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,12 @@ struct QRCodeView: View {
if let display_name = profile?.display_name {
Text(display_name)
.font(.system(size: 24, weight: .heavy))
.foregroundColor(.white)
}
if let name = profile?.name {
Text("@" + name)
.font(.body)
.foregroundColor(.white)
}

Spacer()
Expand All @@ -157,9 +159,11 @@ struct QRCodeView: View {
Text("Follow me on Nostr", comment: "Text on QR code view to prompt viewer looking at screen to follow the user.")
.font(.system(size: 24, weight: .heavy))
.padding(.top)
.foregroundColor(.white)

Text("Scan the code", comment: "Text on QR code view to prompt viewer to scan the QR code on screen with their device camera.")
.font(.system(size: 18, weight: .ultraLight))
.foregroundColor(.white)

Spacer()

Expand All @@ -182,6 +186,7 @@ struct QRCodeView: View {
Text("Scan a user's pubkey", comment: "Text to prompt scanning a QR code of a user's pubkey to open their profile.")
.padding(.top, 50)
.font(.system(size: 24, weight: .heavy))
.foregroundColor(.white)

Spacer()

Expand Down
Loading