mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Add support for Piped accounts and subscriptions
This commit is contained in:
@@ -17,8 +17,8 @@ struct AccountValidationStatus: View {
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
Text(isValid ? "Connected successfully" : "Connection failed")
|
||||
if !isValid && !error.isNil {
|
||||
Text(error!)
|
||||
if let error = error, !isValid {
|
||||
Text(error)
|
||||
.font(.caption2)
|
||||
.foregroundColor(.secondary)
|
||||
.truncationMode(.tail)
|
||||
|
Reference in New Issue
Block a user