Remove demo app

This commit is contained in:
Arkadiusz Fal
2022-11-10 22:49:13 +01:00
parent 67d2c33771
commit d779ec7215
8 changed files with 4 additions and 421 deletions

View File

@@ -26,8 +26,6 @@ struct Instance: Defaults.Serializable, Hashable, Identifiable {
return InvidiousAPI(account: anonymousAccount)
case .piped:
return PipedAPI(account: anonymousAccount)
case .demoApp:
return DemoAppAPI()
}
}
@@ -36,9 +34,7 @@ struct Instance: Defaults.Serializable, Hashable, Identifiable {
}
var longDescription: String {
guard app != .demoApp else { return "Demo" }
return name.isEmpty ? "\(app.name) - \(apiURL)" : "\(app.name) - \(name) (\(apiURL))"
name.isEmpty ? "\(app.name) - \(apiURL)" : "\(app.name) - \(name) (\(apiURL))"
}
var shortDescription: String {