mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 20:10:30 +00:00
2.2.5 (Sorry - A little messy)
This commit is contained in:
parent
c5bf809472
commit
0424339135
19 changed files with 1658 additions and 1302 deletions
|
|
@ -21,6 +21,9 @@ struct MainTabView: View {
|
|||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
// Allow global themed background to show
|
||||
Color.clear.ignoresSafeArea()
|
||||
|
||||
// Main tabs
|
||||
TabView(selection: $selection) {
|
||||
HomeView()
|
||||
|
|
@ -39,22 +42,16 @@ struct MainTabView: View {
|
|||
.tabItem { Label("Settings", systemImage: "gearshape.fill") }
|
||||
.tag(4)
|
||||
}
|
||||
.id(customAccentColorHex)
|
||||
.tint(accentColor)
|
||||
.preferredColorScheme(.dark)
|
||||
.onAppear {
|
||||
checkForUpdate()
|
||||
}
|
||||
|
||||
// Force update overlay
|
||||
if showForceUpdate {
|
||||
ZStack {
|
||||
LinearGradient(
|
||||
gradient: Gradient(colors: [
|
||||
Color(UIColor.systemBackground),
|
||||
Color(UIColor.secondarySystemBackground)
|
||||
]),
|
||||
startPoint: .topLeading,
|
||||
endPoint: .bottomTrailing
|
||||
)
|
||||
.ignoresSafeArea()
|
||||
Color.black.opacity(0.001).ignoresSafeArea()
|
||||
|
||||
VStack(spacing: 20) {
|
||||
Text("Update Required")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue