leading alignment, tiny shadow

This commit is contained in:
neon443 committed 2025-10-29 19:33:14 +00:00
1 parent a102edbd4e
commit 6d9638bf85
1 file changed
+2 -1
+2 -1
View File
@@ -14,7 +14,7 @@ struct EmojiPreview: View {
@State private var id: UUID = UUID()
var body: some View {
VStack {
VStack(alignment: .leading) {
Text(emoji.name)
Group {
if let localImage = try? Data(contentsOf: emoji.localImageURL),
@@ -27,6 +27,7 @@ struct EmojiPreview: View {
.resizable().scaledToFit()
.frame(width: 20, height: 20)
.symbolRenderingMode(.hierarchical)
.shadow(radius: 1)
}
} else {
AsyncImage(url: emoji.remoteImageURL) { phase in
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.