Enable app icon selection on macOS

This commit is contained in:
Arkadiusz Fal
2026-04-20 21:21:18 +02:00
parent b0f9bb2229
commit d2b6a158db
5 changed files with 53 additions and 10 deletions

View File

@@ -18,8 +18,8 @@ struct AppearanceSettingsView: View {
ThemeSection(settings: settings)
#endif
// App icon section (iOS only)
#if os(iOS)
// App icon section
#if !os(tvOS)
AppIconSection(settings: settings)
#endif
@@ -66,9 +66,9 @@ private struct ThemeSection: View {
}
}
// MARK: - App Icon Section (iOS only)
// MARK: - App Icon Section
#if os(iOS)
#if !os(tvOS)
private struct AppIconSection: View {
@Bindable var settings: SettingsManager
@@ -131,7 +131,9 @@ private struct AppIconPickerView: View {
}
}
.navigationTitle(String(localized: "settings.appearance.appIcon.header"))
#if os(iOS)
.navigationBarTitleDisplayMode(.inline)
#endif
}
}
#endif