Improve Toast View UI

This commit is contained in:
Leon Böttger committed 2025-11-05 15:50:12 +01:00
1 parent 05321adb6d
commit 0ca2a13d66
2 files changed
+5 -9

No files matched your search

+4 -4
View File
@@ -1267,8 +1267,8 @@
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SHARED_BUILD = 81;
SHARED_VERSION = 2.5.2;
SHARED_BUILD = 82;
SHARED_VERSION = 2.5.3;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -1330,8 +1330,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SHARED_BUILD = 81;
SHARED_VERSION = 2.5.2;
SHARED_BUILD = 82;
SHARED_VERSION = 2.5.3;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_EMIT_LOC_STRINGS = YES;
+1 -5
View File
@@ -55,10 +55,6 @@ struct QuickDropToastView: View {
.font(.system(size: 10, weight: .semibold))
.foregroundColor(.secondary)
.frame(width: 18, height: 18)
.background(
VisualEffectView(material: .hudWindow)
.clipShape(Circle())
)
}
.buttonStyle(PlainButtonStyle())
}
@@ -72,7 +68,7 @@ struct QuickDropToastView: View {
RoundedRectangle(cornerRadius: 16, style: .continuous)
.stroke(Color.black.opacity(0.06), lineWidth: 1)
)
.shadow(color: Color.black.opacity(0.12), radius: 20)
.shadow(color: Color.black.opacity(0.1), radius: 20)
.frame(maxWidth: .infinity)
.opacity(isFileTransferRestricted() ? 0 : 1)
}