mirror of https://github.com/lukechilds/damus.git
committed by
William Casarin
4 changed files with 62 additions and 12 deletions
@ -0,0 +1,29 @@ |
|||
// |
|||
// EmptyNotificationsView.swift |
|||
// damus |
|||
// |
|||
// Created by Sam DuBois on 12/17/22. |
|||
// |
|||
|
|||
import SwiftUI |
|||
|
|||
struct EmptyTimelineView: View { |
|||
var body: some View { |
|||
VStack { |
|||
Image(systemName: "tray.fill") |
|||
.font(.system(size: 35)) |
|||
.padding() |
|||
Text("Nothing to see here. Check back later!") |
|||
.multilineTextAlignment(.center) |
|||
.font(.callout.weight(.medium)) |
|||
} |
|||
.foregroundColor(.gray) |
|||
.padding() |
|||
} |
|||
} |
|||
|
|||
struct EmptyTimelineView_Previews: PreviewProvider { |
|||
static var previews: some View { |
|||
EmptyTimelineView() |
|||
} |
|||
} |
Loading…
Reference in new issue