瀏覽代碼

Adjustment of ErrorMessageView

Jonas Björkert 2 年之前
父節點
當前提交
77321a5521
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      LoopFollow/Remote/RemoteView.swift

+ 1 - 7
LoopFollow/Remote/RemoteView.swift

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