mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-15 07:56:01 +01:00
Fix account order (#1171)
This commit is contained in:
parent
07231d0e14
commit
e3ab57ea1c
@ -78,7 +78,7 @@ public struct AppAccountsSelectorView: View {
|
|||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
private var menuView: some View {
|
private var menuView: some View {
|
||||||
ForEach(accountsViewModel, id: \.appAccount.id) { viewModel in
|
ForEach(accountsViewModel.sorted { $0.acct < $1.acct }, id: \.appAccount.id) { viewModel in
|
||||||
Section(viewModel.acct) {
|
Section(viewModel.acct) {
|
||||||
Button {
|
Button {
|
||||||
if let account = currentAccount.account,
|
if let account = currentAccount.account,
|
||||||
|
Loading…
Reference in New Issue
Block a user