all features implemented

This commit is contained in:
Rory Hinnen
2026-09-07 15:27:33 -05:00
parent ac4d4a670a
commit 2a6130ba8e
64 changed files with 691 additions and 340 deletions
+41
View File
@@ -0,0 +1,41 @@
//
// SettingsView.swift
// Bunch O' Dice
//
// Created by Rory Hinnen on 22/7/2.
//
import SwiftUI
struct SettingsView: View {
@EnvironmentObject var current: Roll
@Binding var isShowing: Bool
var body: some View {
VStack{
VStack{
Text("DieHammer")
.font(.title)
Text("A roll management tool for Warhammer & Warhammer:40,000")
.font(.subheadline)
}.padding()
Group{
VStack{
Text("Theme")
Button(String(current.appearance.name)) {current.appearance.next()}
}
Button("Tutorial") {current.currentPage = "OnboardingView"}
.padding()
}
Spacer()
Button("Dismiss", action: {isShowing = false})
}
}
}
struct SettingsView_Previews: PreviewProvider {
static var previews: some View {
SettingsView(isShowing: .constant(true))
.environmentObject(Roll())
}
}