From 38731df12ef557b453c0639aee352b7eacb722d5 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 29 Dec 2025 18:41:33 -0800 Subject: [PATCH] Clean up download and install button files --- Meshtastic/Views/Settings/Firmware/Firmware.swift | 12 ++++++------ protobufs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Meshtastic/Views/Settings/Firmware/Firmware.swift b/Meshtastic/Views/Settings/Firmware/Firmware.swift index aa4c0b85..59d16779 100644 --- a/Meshtastic/Views/Settings/Firmware/Firmware.swift +++ b/Meshtastic/Views/Settings/Firmware/Firmware.swift @@ -298,10 +298,10 @@ private struct FirmwareRow: View { Text("Install") self.installIcon } - }.buttonStyle(.bordered) + } + .buttonStyle(.bordered) .buttonBorderShape(.capsule) - .controlSize(.regular) - .padding(2.0) + .controlSize(UIDevice.current.userInterfaceIdiom == .phone ? .small : .regular) case .notDownloaded: Button { @@ -310,10 +310,10 @@ private struct FirmwareRow: View { } } label: { Text("Download") - }.buttonStyle(.bordered) + } + .buttonStyle(.bordered) .buttonBorderShape(.capsule) - .controlSize(.regular) - .padding(2.0) + .controlSize(UIDevice.current.userInterfaceIdiom == .phone ? .small : .regular) case .error: Image(systemName: "exclamationmark.triangle.fill").foregroundColor(.red) } diff --git a/protobufs b/protobufs index 4b9f104a..27fac391 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit 4b9f104a18ea43b1b2091ee2b48899fe43ad8a0b +Subproject commit 27fac39141d99fe727a0a1824c5397409b1aea75