mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-24 23:36:05 +00:00
Improve Toast View UI
This commit is contained in:
1 parent
05321adb6d
commit
0ca2a13d66
2 files changed
+5
-9
No files matched your search
@@ -1267,8 +1267,8 @@
|
|||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 81;
|
SHARED_BUILD = 82;
|
||||||
SHARED_VERSION = 2.5.2;
|
SHARED_VERSION = 2.5.3;
|
||||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
@@ -1330,8 +1330,8 @@
|
|||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 81;
|
SHARED_BUILD = 82;
|
||||||
SHARED_VERSION = 2.5.2;
|
SHARED_VERSION = 2.5.3;
|
||||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||||
SWIFT_COMPILATION_MODE = wholemodule;
|
SWIFT_COMPILATION_MODE = wholemodule;
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
|
|||||||
@@ -55,10 +55,6 @@ struct QuickDropToastView: View {
|
|||||||
.font(.system(size: 10, weight: .semibold))
|
.font(.system(size: 10, weight: .semibold))
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
.frame(width: 18, height: 18)
|
.frame(width: 18, height: 18)
|
||||||
.background(
|
|
||||||
VisualEffectView(material: .hudWindow)
|
|
||||||
.clipShape(Circle())
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
.buttonStyle(PlainButtonStyle())
|
.buttonStyle(PlainButtonStyle())
|
||||||
}
|
}
|
||||||
@@ -72,7 +68,7 @@ struct QuickDropToastView: View {
|
|||||||
RoundedRectangle(cornerRadius: 16, style: .continuous)
|
RoundedRectangle(cornerRadius: 16, style: .continuous)
|
||||||
.stroke(Color.black.opacity(0.06), lineWidth: 1)
|
.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)
|
.frame(maxWidth: .infinity)
|
||||||
.opacity(isFileTransferRestricted() ? 0 : 1)
|
.opacity(isFileTransferRestricted() ? 0 : 1)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user