From 12587d74093ed2770962823af2b5d4cd85cf8412 Mon Sep 17 00:00:00 2001 From: dasebasto Date: Sun, 22 Dec 2024 16:56:27 +0100 Subject: [PATCH] fix: reorder 'Color of upload' and 'Color of download' in preferences for coherence with preferences (#2275) Co-authored-by: lulo --- Modules/Net/popup.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/Net/popup.swift b/Modules/Net/popup.swift index 2ba24ce2fb2..2010495c9e9 100644 --- a/Modules/Net/popup.swift +++ b/Modules/Net/popup.swift @@ -560,15 +560,15 @@ internal class Popup: PopupWrapper { let view = SettingsContainerView() view.addArrangedSubview(PreferencesSection([ - PreferencesRow(localizedString("Color of upload"), component: selectView( - action: #selector(self.toggleUploadColor), - items: SColor.allColors, - selected: self.uploadColorState.key - )), PreferencesRow(localizedString("Color of download"), component: selectView( action: #selector(self.toggleDownloadColor), items: SColor.allColors, selected: self.downloadColorState.key + )), + PreferencesRow(localizedString("Color of upload"), component: selectView( + action: #selector(self.toggleUploadColor), + items: SColor.allColors, + selected: self.uploadColorState.key )) ]))