Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
e6b8056402
|
@ -217,13 +217,11 @@
|
||||||
TargetAttributes = {
|
TargetAttributes = {
|
||||||
844BEE5A1F0AB3C8004AB7CD = {
|
844BEE5A1F0AB3C8004AB7CD = {
|
||||||
CreatedOnToolsVersion = 8.3.2;
|
CreatedOnToolsVersion = 8.3.2;
|
||||||
DevelopmentTeam = M8L2WTLA8W;
|
|
||||||
LastSwiftMigration = 0830;
|
LastSwiftMigration = 0830;
|
||||||
ProvisioningStyle = Automatic;
|
ProvisioningStyle = Automatic;
|
||||||
};
|
};
|
||||||
844BEE631F0AB3C9004AB7CD = {
|
844BEE631F0AB3C9004AB7CD = {
|
||||||
CreatedOnToolsVersion = 8.3.2;
|
CreatedOnToolsVersion = 8.3.2;
|
||||||
DevelopmentTeam = M8L2WTLA8W;
|
|
||||||
ProvisioningStyle = Automatic;
|
ProvisioningStyle = Automatic;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -94,7 +94,7 @@ struct SettingsView : View {
|
||||||
|
|
||||||
var createSubscriptionsImportAccounts: ActionSheet {
|
var createSubscriptionsImportAccounts: ActionSheet {
|
||||||
var buttons = [ActionSheet.Button]()
|
var buttons = [ActionSheet.Button]()
|
||||||
for account in viewModel.accounts {
|
for account in viewModel.activeAccounts {
|
||||||
let button = ActionSheet.Button.default(Text(verbatim: account.nameForDisplay)) {
|
let button = ActionSheet.Button.default(Text(verbatim: account.nameForDisplay)) {
|
||||||
self.subscriptionsImportAccounts = nil
|
self.subscriptionsImportAccounts = nil
|
||||||
self.subscriptionsImportDocumentPicker = Modal(SettingsSubscriptionsImportDocumentPickerView(account: account))
|
self.subscriptionsImportDocumentPicker = Modal(SettingsSubscriptionsImportDocumentPickerView(account: account))
|
||||||
|
@ -137,6 +137,14 @@ struct SettingsView : View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var activeAccounts: [Account] {
|
||||||
|
get {
|
||||||
|
return AccountManager.shared.sortedActiveAccounts
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var sortOldestToNewest: Bool {
|
var sortOldestToNewest: Bool {
|
||||||
get {
|
get {
|
||||||
return AppDefaults.timelineSortDirection == .orderedDescending
|
return AppDefaults.timelineSortDirection == .orderedDescending
|
||||||
|
|
Loading…
Reference in New Issue