From e6472f493c1ac851d1da380208b5941d131917d5 Mon Sep 17 00:00:00 2001 From: lulo Date: Mon, 16 Dec 2024 08:29:00 +0100 Subject: [PATCH] Fix: reorder 'Color of upload' and 'Color of download' in preferences for coherence with preferences --- 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 )) ]))