mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-03-11 13:26:17 +00:00
leading alignment, tiny shadow
This commit is contained in:
@@ -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