mirror of
https://github.com/neon443/RNG_Swift.git
synced 2026-03-11 06:49:12 +00:00
Initial Commit
This commit is contained in:
26
ContentView.swift
Normal file
26
ContentView.swift
Normal file
@@ -0,0 +1,26 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user