fix: hide Creative Tools in release builds and improve Add Item keyboard behavior
Gate Icon Generator section behind #if DEBUG and group it with other debug sections at the bottom of Settings. Remove auto-focus on description field, dismiss keyboard on return key and on scroll. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,9 +49,6 @@ struct SettingsView: View {
|
||||
// Privacy
|
||||
privacySection
|
||||
|
||||
// Icon Generator
|
||||
iconGeneratorSection
|
||||
|
||||
// About
|
||||
aboutSection
|
||||
|
||||
@@ -59,6 +56,9 @@ struct SettingsView: View {
|
||||
resetSection
|
||||
|
||||
#if DEBUG
|
||||
// Icon Generator
|
||||
iconGeneratorSection
|
||||
|
||||
// Debug
|
||||
debugSection
|
||||
|
||||
@@ -377,6 +377,7 @@ struct SettingsView: View {
|
||||
|
||||
// MARK: - Icon Generator Section
|
||||
|
||||
#if DEBUG
|
||||
private var iconGeneratorSection: some View {
|
||||
Section {
|
||||
NavigationLink {
|
||||
@@ -404,6 +405,7 @@ struct SettingsView: View {
|
||||
}
|
||||
.listRowBackground(Theme.cardBackground(colorScheme))
|
||||
}
|
||||
#endif
|
||||
|
||||
// MARK: - Reset Section
|
||||
|
||||
|
||||
Reference in New Issue
Block a user