Use LargePrimaryButtonStyle for big blue button on Linked Devices screen.

Glass look on iOS 26 + less things to configure.
This commit is contained in:
Igor Solomennikov 2025-10-24 23:47:17 -07:00 committed by GitHub
parent 21ca53cbe1
commit 4504b5ef15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -780,17 +780,8 @@ struct LinkedDevicesView: View {
"LINK_NEW_DEVICE_TITLE",
comment: "Navigation title when scanning QR code to add new device."
))
.padding(.vertical, 14)
.padding(.horizontal, 16)
.frame(maxWidth: .infinity)
}
.font(.headline)
.buttonStyle(.borderless)
.foregroundStyle(isEditing ? Color.Signal.tertiaryLabel : .white)
.background(
isEditing ? Color.Signal.tertiaryFill : Color.Signal.ultramarine,
in: .rect(cornerRadius: 12)
)
.buttonStyle(Registration.UI.LargePrimaryButtonStyle())
.disabled(isEditing)
}
.padding(.horizontal, 8)