fix: reorder 'Color of upload' and 'Color of download' in preferences for coherence with preferences (#2275)

Co-authored-by: lulo <lulo@classicwords.net>
This commit is contained in:
dasebasto
2024-12-22 16:56:27 +01:00
committed by GitHub
parent f9619fc816
commit 12587d7409

View File

@@ -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
))
]))