@@ -20,49 +20,51 @@ struct SYAboutView: View {
2020
2121 var body : some View {
2222 Form {
23- Section {
24- VStack {
25- Image ( uiImage: ( UIImage ( named: Bundle . main. iconFileName ?? " " ) ) ! )
26- . appIconStyle ( size: 72 )
27-
28- Text ( Bundle . main. name)
29- . font ( . largeTitle)
30- . bold ( )
31- . foregroundStyle ( . tint)
32-
33- HStack ( spacing: 4 ) {
34- Text ( . localized( " Version " ) )
35- Text ( Bundle . main. version)
23+ if !isLoading {
24+ Section {
25+ VStack {
26+ Image ( uiImage: ( UIImage ( named: Bundle . main. iconFileName ?? " " ) ) ! )
27+ . appIconStyle ( size: 72 )
28+
29+ Text ( Bundle . main. name)
30+ . font ( . largeTitle)
31+ . bold ( )
32+ . foregroundStyle ( . tint)
33+
34+ HStack ( spacing: 4 ) {
35+ Text ( . localized( " Version " ) )
36+ Text ( Bundle . main. version)
37+ }
38+ . font ( . footnote)
39+ . foregroundStyle ( . secondary)
40+
3641 }
37- . font ( . footnote)
38- . foregroundStyle ( . secondary)
39-
4042 }
41- }
42- . frame ( maxWidth: . infinity)
43- . listRowBackground ( EmptyView ( ) )
44-
45- Section ( . localized( " Credits " ) ) {
46- if !_credits. isEmpty {
47- ForEach ( _credits, id: \. github) { credit in
48- _credit ( name: credit. name, desc: credit. desc, github: credit. github)
43+ . frame ( maxWidth: . infinity)
44+ . listRowBackground ( EmptyView ( ) )
45+
46+ Section ( . localized( " Credits " ) ) {
47+ if !_credits. isEmpty {
48+ ForEach ( _credits, id: \. github) { credit in
49+ _credit ( name: credit. name, desc: credit. desc, github: credit. github)
50+ }
51+ . transition ( . slide)
4952 }
50- . transition ( . slide)
5153 }
52- }
53-
54- Section ( . localized( " Sponsors " ) ) {
55- if !_donators. isEmpty {
56- Group {
57- Text ( try ! AttributedString ( markdown: _donators. map {
58- " [ \( $0. name ?? $0. github) ](https://github.com/ \( $0. github) ) "
59- } . joined ( separator: " , " ) ) )
60-
61- Text ( . localized( " 💚 This couldn't of been done without my sponsors! " ) )
62- . foregroundStyle ( . secondary)
63- . padding ( . vertical, 2 )
54+
55+ Section ( . localized( " Sponsors " ) ) {
56+ if !_donators. isEmpty {
57+ Group {
58+ Text ( try ! AttributedString ( markdown: _donators. map {
59+ " [ \( $0. name ?? $0. github) ](https://github.com/ \( $0. github) ) "
60+ } . joined ( separator: " , " ) ) )
61+
62+ Text ( . localized( " 💚 This couldn't of been done without my sponsors! " ) )
63+ . foregroundStyle ( . secondary)
64+ . padding ( . vertical, 2 )
65+ }
66+ . transition ( . slide)
6467 }
65- . transition ( . slide)
6668 }
6769 }
6870 }
0 commit comments