From 4504b5ef158e90d00cd2d8f132d3e2153ceb445f Mon Sep 17 00:00:00 2001 From: Igor Solomennikov Date: Fri, 24 Oct 2025 23:47:17 -0700 Subject: [PATCH] Use `LargePrimaryButtonStyle` for big blue button on Linked Devices screen. Glass look on iOS 26 + less things to configure. --- .../Linked Devices/LinkedDevicesView.swift | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Signal/src/ViewControllers/AppSettings/Linked Devices/LinkedDevicesView.swift b/Signal/src/ViewControllers/AppSettings/Linked Devices/LinkedDevicesView.swift index 9740cd5a96..149136ca55 100644 --- a/Signal/src/ViewControllers/AppSettings/Linked Devices/LinkedDevicesView.swift +++ b/Signal/src/ViewControllers/AppSettings/Linked Devices/LinkedDevicesView.swift @@ -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)