mirror of
https://github.com/neon443/RNG_Swift.git
synced 2026-03-11 06:49:12 +00:00
27 lines
740 B
Swift
27 lines
740 B
Swift
import SwiftUI
|
|
|
|
struct ContentView: View {
|
|
var body: some View {
|
|
VStack {
|
|
NavigationSplitView {
|
|
List {
|
|
NavigationLink {
|
|
DiceView()
|
|
.navigationTitle("Dice")
|
|
} label: {
|
|
HStack {
|
|
Text("Dice")
|
|
Spacer()
|
|
Image(systemName: "die.face.6.fill")
|
|
}
|
|
}
|
|
}
|
|
.navigationTitle("RNG")
|
|
.navigationBarTitleDisplayMode(.inline)
|
|
} detail: {
|
|
Image(systemName: "dice.fill")
|
|
}
|
|
}
|
|
}
|
|
}
|