Created
January 28, 2020 01:28
-
-
Save duanebester/42e67884c719f31e2217d2cec3f2b3be to your computer and use it in GitHub Desktop.
ContentView 01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
NavigationView { | |
ZStack { | |
SongListView() | |
}.navigationBarTitle("Music") | |
} | |
} | |
} | |
struct ContentView_Previews: PreviewProvider { | |
static var previews: some View { | |
Group { | |
ContentView().environment(\.colorScheme, .light) | |
ContentView().environment(\.colorScheme, .dark) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment