|
|
|
@ -57,7 +57,7 @@ struct ToolboxView: View { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if showDebugViews { |
|
|
|
if self.showDebugViews { |
|
|
|
DebugView() |
|
|
|
DebugView() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -139,13 +139,13 @@ struct ToolboxView: View { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.onAppear { |
|
|
|
.onAppear { |
|
|
|
//#if DEBUG |
|
|
|
#if DEBUG |
|
|
|
// self.showDebugViews = true |
|
|
|
self.showDebugViews = true |
|
|
|
//#endif |
|
|
|
#endif |
|
|
|
// |
|
|
|
|
|
|
|
//#if TESTFLIGHT |
|
|
|
#if TESTFLIGHT |
|
|
|
// self.showDebugViews = true |
|
|
|
self.showDebugViews = true |
|
|
|
//#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.overlay(alignment: .bottom) { |
|
|
|
.overlay(alignment: .bottom) { |
|
|
|
@ -160,7 +160,7 @@ struct ToolboxView: View { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.navigationBarTitleDisplayMode(.large) |
|
|
|
// .navigationBarTitleDisplayMode(.large) |
|
|
|
// .navigationTitle(TabDestination.toolbox.title) |
|
|
|
// .navigationTitle(TabDestination.toolbox.title) |
|
|
|
.toolbar { |
|
|
|
.toolbar { |
|
|
|
ToolbarItem(placement: .principal) { |
|
|
|
ToolbarItem(placement: .principal) { |
|
|
|
@ -206,12 +206,12 @@ struct ToolboxView: View { |
|
|
|
|
|
|
|
|
|
|
|
// Check if we've reached 4 taps |
|
|
|
// Check if we've reached 4 taps |
|
|
|
if tapCount == 4 { |
|
|
|
if tapCount == 4 { |
|
|
|
_secretFeatureActivated() |
|
|
|
_showDebugView() |
|
|
|
tapCount = 0 |
|
|
|
tapCount = 0 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private func _secretFeatureActivated() { |
|
|
|
private func _showDebugView() { |
|
|
|
self.showDebugViews = true |
|
|
|
self.showDebugViews = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|