File tree Expand file tree Collapse file tree 1 file changed +26
-7
lines changed
MacImageManager/MacImageManager Expand file tree Collapse file tree 1 file changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,32 @@ struct ContentView: View {
4646 }
4747 } else {
4848 // Empty state when no file is selected
49- VStack {
50- Image ( systemName: " photo.on.rectangle " )
51- . font ( . system( size: 64 ) )
52- . foregroundColor ( . secondary)
53- Text ( " (select a file) " )
54- . font ( . title2)
55- . foregroundColor ( . secondary)
49+ VStack ( spacing: 24 ) {
50+ Spacer ( )
51+
52+ ZStack {
53+ Circle ( )
54+ . fill ( Color . secondary. opacity ( 0.1 ) )
55+ . frame ( width: 120 , height: 120 )
56+
57+ Image ( systemName: " photo.on.rectangle.angled " )
58+ . font ( . system( size: 48 , weight: . light) )
59+ . foregroundColor ( . secondary)
60+ }
61+
62+ VStack ( spacing: 8 ) {
63+ Text ( " (select a file) " )
64+ . font ( . headline)
65+ . foregroundColor ( . primary)
66+
67+ Text ( " Choose an image or video from the browser to view it here. " )
68+ . font ( . subheadline)
69+ . foregroundColor ( . secondary)
70+ . multilineTextAlignment ( . center)
71+ . padding ( . horizontal, 40 )
72+ }
73+
74+ Spacer ( )
5675 }
5776 . frame ( maxWidth: . infinity, maxHeight: . infinity)
5877 . background ( Color ( NSColor . controlBackgroundColor) )
You can’t perform that action at this time.
0 commit comments