mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Show disabled rows in Add Account and folder picker as disabled-looking.
This commit is contained in:
1 parent
f290c5a126
commit
98d42e05b7
2 files changed
+2
-2
No files matched your search
@@ -60,7 +60,7 @@ struct AddFeedContainerPickerView: View {
|
||||
}
|
||||
.padding(.leading, row.container is Folder ? Self.folderIndent : 0)
|
||||
}
|
||||
.foregroundStyle(.primary)
|
||||
.foregroundStyle(canSelect(row.container) ? .primary : .secondary)
|
||||
.disabled(!canSelect(row.container))
|
||||
}
|
||||
.navigationTitle(NSLocalizedString("Choose Folder", comment: "Choose Folder"))
|
||||
|
||||
@@ -125,7 +125,7 @@ struct AddAccountView: View {
|
||||
Text(verbatim: accountType.displayName)
|
||||
}
|
||||
}
|
||||
.foregroundStyle(.primary)
|
||||
.foregroundStyle(isDisabled(accountType) ? .secondary : .primary)
|
||||
.disabled(isDisabled(accountType))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user