diff --git a/Threaded/Components/NotificationRow.swift b/Threaded/Components/NotificationRow.swift index fe0c0fc..68032b1 100644 --- a/Threaded/Components/NotificationRow.swift +++ b/Threaded/Components/NotificationRow.swift @@ -95,28 +95,40 @@ struct NotificationRow: View { @ViewBuilder private func notifIcon() -> some View { - let font: Font = .system(size: 12, weight: .regular, design: .monospaced) + let size: CGFloat = 60.0 / 4.0 ZStack { switch (notif.supportedType) { case .favourite: Image(systemName: "heart.fill") - .font(font) + .resizable() + .scaledToFit() + .frame(width: size, height: size) case .follow: Image(systemName: "person.fill.badge.plus") - .font(font) + .resizable() + .scaledToFit() + .frame(width: size, height: size) case .mention: Image(systemName: "tag.fill") - .font(font) + .resizable() + .scaledToFit() + .frame(width: size, height: size) case .reblog: Image(systemName: "bolt.horizontal.fill") - .font(font) + .resizable() + .scaledToFit() + .frame(width: size, height: size) case .status: Image(systemName: "text.badge.plus") - .font(font) + .resizable() + .scaledToFit() + .frame(width: size, height: size) default: Image(systemName: "questionmark") - .font(font) + .resizable() + .scaledToFit() + .frame(width: size, height: size) } } .frame(minWidth: 30) diff --git a/Threaded/Views/DiscoveryView.swift b/Threaded/Views/DiscoveryView.swift new file mode 100644 index 0000000..210d05c --- /dev/null +++ b/Threaded/Views/DiscoveryView.swift @@ -0,0 +1,13 @@ +//Made by Lumaa + +import SwiftUI + +struct DiscoveryView: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +#Preview { + DiscoveryView() +}