Pārlūkot izejas kodu

Adjustment of ErrorMessageView

Jonas Björkert 2 gadi atpakaļ
vecāks
revīzija
77321a5521
1 mainītis faili ar 1 papildinājumiem un 7 dzēšanām
  1. 1 7
      LoopFollow/Remote/RemoteView.swift

+ 1 - 7
LoopFollow/Remote/RemoteView.swift

@@ -44,7 +44,7 @@ struct RemoteView: View {
                     )
                 } else if !nsWriteAuth.value {
                     ErrorMessageView(
-                        message: "Please enter a valid token with appropriate permissions."
+                        message: "Please enter a valid token with appropriate permissions in the settings."
                     )
                 } else {
                     Form {
@@ -205,11 +205,5 @@ struct ErrorMessageView: View {
             }
         }
         .padding()
-        .background(
-            RoundedRectangle(cornerRadius: 10)
-                .fill(Color(.systemBackground))
-                .shadow(color: .gray, radius: 5, x: 0, y: 2)
-        )
-        .padding()
     }
 }