tangled
alpha
login
or
join now
kepelet.com
/
flo
3
fork
atom
an open source Navidrome client written in Swift — https://dub.sh/getflo
3
fork
atom
overview
issues
1
pulls
pipelines
fix: unexpected spacing issue
rizaldy.club
1 year ago
1346e86c
611d4eb2
+14
-13
1 changed file
expand all
collapse all
unified
split
flo
Navigation
HomeView.swift
+14
-13
flo/Navigation/HomeView.swift
···
63
63
.padding()
64
64
65
65
ScrollView {
66
66
-
if !viewModel.isLoggedIn {
67
67
-
VStack {
68
68
-
Text("Login to start streaming your music by tapping the icon above")
69
69
-
.customFont(.body)
70
70
-
.multilineTextAlignment(.center)
66
66
+
VStack(alignment: .leading, spacing: 16) {
67
67
+
if !viewModel.isLoggedIn {
68
68
+
VStack {
69
69
+
Text("Login to start streaming your music by tapping the icon above")
70
70
+
.customFont(.body)
71
71
+
.multilineTextAlignment(.center)
72
72
+
.frame(maxWidth: .infinity)
73
73
+
}
74
74
+
.padding()
75
75
+
.overlay(
76
76
+
RoundedRectangle(cornerRadius: 8).stroke(Color("PlayerColor"), lineWidth: 0.8)
77
77
+
)
78
78
+
.padding(.top, 10)
79
79
+
.padding(.bottom)
71
80
}
72
72
-
.padding()
73
73
-
.overlay(
74
74
-
RoundedRectangle(cornerRadius: 8).stroke(Color("PlayerColor"), lineWidth: 0.8)
75
75
-
)
76
76
-
.padding(.top, 10)
77
77
-
.padding(.bottom)
78
78
-
}
79
81
80
80
-
VStack(alignment: .leading, spacing: 16) {
81
82
Text("Listening Activity (all time)").customFont(.title2).fontWeight(.bold)
82
83
.multilineTextAlignment(.leading)
83
84