an open source Navidrome client written in Swift — https://dub.sh/getflo

fix: unexpected spacing issue

+14 -13
+14 -13
flo/Navigation/HomeView.swift
··· 63 63 .padding() 64 64 65 65 ScrollView { 66 - if !viewModel.isLoggedIn { 67 - VStack { 68 - Text("Login to start streaming your music by tapping the icon above") 69 - .customFont(.body) 70 - .multilineTextAlignment(.center) 66 + VStack(alignment: .leading, spacing: 16) { 67 + if !viewModel.isLoggedIn { 68 + VStack { 69 + Text("Login to start streaming your music by tapping the icon above") 70 + .customFont(.body) 71 + .multilineTextAlignment(.center) 72 + .frame(maxWidth: .infinity) 73 + } 74 + .padding() 75 + .overlay( 76 + RoundedRectangle(cornerRadius: 8).stroke(Color("PlayerColor"), lineWidth: 0.8) 77 + ) 78 + .padding(.top, 10) 79 + .padding(.bottom) 71 80 } 72 - .padding() 73 - .overlay( 74 - RoundedRectangle(cornerRadius: 8).stroke(Color("PlayerColor"), lineWidth: 0.8) 75 - ) 76 - .padding(.top, 10) 77 - .padding(.bottom) 78 - } 79 81 80 - VStack(alignment: .leading, spacing: 16) { 81 82 Text("Listening Activity (all time)").customFont(.title2).fontWeight(.bold) 82 83 .multilineTextAlignment(.leading) 83 84