mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
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:
@@ -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
|
||||
))
|
||||
]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user