mirror of
https://github.com/yattee/yattee.git
synced 2025-08-04 01:34:10 +00:00
Remove demo app
This commit is contained in:
@@ -9,7 +9,7 @@ extension Defaults.Keys {
|
||||
static let instancesManifest = Key<String>("instancesManifest", default: "")
|
||||
static let countryOfPublicInstances = Key<String?>("countryOfPublicInstances")
|
||||
|
||||
static let instances = Key<[Instance]>("instances", default: [.init(app: .demoApp, name: "Demo", apiURL: "")])
|
||||
static let instances = Key<[Instance]>("instances", default: [])
|
||||
static let accounts = Key<[Account]>("accounts", default: [])
|
||||
static let lastAccountID = Key<Account.ID?>("lastAccountID")
|
||||
static let lastInstanceID = Key<Instance.ID?>("lastInstanceID")
|
||||
|
@@ -8,7 +8,6 @@ struct AccountsNavigationLink: View {
|
||||
NavigationLink(instance.longDescription) {
|
||||
InstanceSettings(instance: instance)
|
||||
}
|
||||
.disabled(instance.app == .demoApp)
|
||||
.buttonStyle(.plain)
|
||||
.contextMenu {
|
||||
removeInstanceButton(instance)
|
||||
|
Reference in New Issue
Block a user