add error msg

This commit is contained in:
cheykrym 2025-10-26 02:39:55 +03:00
parent 9f6beecb49
commit 0a7d519567
2 changed files with 6 additions and 5 deletions

View File

@ -94,9 +94,6 @@
},
"Email не подтверждён. Подтвердите, чтобы активировать дополнительные проверки." : {
"comment" : "Описание необходимости подтверждения email"
},
"error" : {
},
"Fun Fest" : {
"comment" : "Fun Fest",

View File

@ -30,8 +30,12 @@ struct BlockedUsersView: View {
ProgressView()
.frame(maxWidth: .infinity, alignment: .center)
}
} else if errorMessageDown != nil{
Text("error")
} else if let errorMessage = errorMessageDown {
Text(errorMessage)
.foregroundColor(.red)
.frame(maxWidth: .infinity, alignment: .center)
.listRowSeparator(.hidden)
.listRowBackground(Color.clear)
}
}
}