Skip to content

Commit

Permalink
fix: reorder 'Color of upload' and 'Color of download' in preferences…
Browse files Browse the repository at this point in the history
… for coherence with preferences (#2275)

Co-authored-by: lulo <lulo@classicwords.net>
  • Loading branch information
dasebasto and lulo authored Dec 22, 2024
1 parent f9619fc commit 12587d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Modules/Net/popup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
))
]))

Expand Down

0 comments on commit 12587d7

Please sign in to comment.