add error msg
This commit is contained in:
		
							parent
							
								
									9f6beecb49
								
							
						
					
					
						commit
						0a7d519567
					
				@ -94,9 +94,6 @@
 | 
			
		||||
    },
 | 
			
		||||
    "Email не подтверждён. Подтвердите, чтобы активировать дополнительные проверки." : {
 | 
			
		||||
      "comment" : "Описание необходимости подтверждения email"
 | 
			
		||||
    },
 | 
			
		||||
    "error" : {
 | 
			
		||||
 | 
			
		||||
    },
 | 
			
		||||
    "Fun Fest" : {
 | 
			
		||||
      "comment" : "Fun Fest",
 | 
			
		||||
 | 
			
		||||
@ -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)
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user