diff --git a/WMFComponents/Sources/WMFComponents/Components/Shared/Forms/WMFFormView.swift b/WMFComponents/Sources/WMFComponents/Components/Shared/Forms/WMFFormView.swift index 4df97cf66a8..d48b2204aec 100644 --- a/WMFComponents/Sources/WMFComponents/Components/Shared/Forms/WMFFormView.swift +++ b/WMFComponents/Sources/WMFComponents/Components/Shared/Forms/WMFFormView.swift @@ -24,7 +24,7 @@ public struct WMFFormView: View { } } - .listStyle(GroupedListStyle()) + .listStyle(InsetGroupedListStyle()) .listBackgroundColor(Color(theme.baseBackground)) .onAppear(perform: { if #unavailable(iOS 16) { diff --git a/Wikipedia/Code/AppearanceSettingsViewController.swift b/Wikipedia/Code/AppearanceSettingsViewController.swift index ec742ebcccc..bfebbc76648 100644 --- a/Wikipedia/Code/AppearanceSettingsViewController.swift +++ b/Wikipedia/Code/AppearanceSettingsViewController.swift @@ -87,11 +87,11 @@ final class AppearanceSettingsViewController: SubSettingsViewController { let readingThemesSection = AppearanceSettingsSection(headerTitle: WMFLocalizedString("appearance-settings-reading-themes", value: "Reading themes", comment: "Title of the Reading themes section in Appearance settings"), footerText: nil, items: items) - let themeOptionsSection = AppearanceSettingsSection(headerTitle: WMFLocalizedString("appearance-settings-theme-options", value: "Theme options", comment: "Title of the Theme options section in Appearance settings"), footerText: WMFLocalizedString("appearance-settings-image-dimming-footer", value: "Decrease the opacity of images on the dark and black themes", comment: "Footer of the Theme options section in Appearance settings, explaining image dimming"), items: [AppearanceSettingsCustomViewItem(title: nil, subtitle: nil, viewController: ImageDimmingExampleViewController(nibName: "ImageDimmingExampleViewController", bundle: nil)), AppearanceSettingsSpacerViewItem(title: nil, subtitle: nil, spacing: 15.0), AppearanceSettingsDimSwitchItem(title: CommonStrings.dimImagesTitle, subtitle: nil)]) + let themeOptionsSection = AppearanceSettingsSection(headerTitle: WMFLocalizedString("appearance-settings-theme-options", value: "Theme options", comment: "Title of the Theme options section in Appearance settings"), footerText: WMFLocalizedString("appearance-settings-image-dimming-footer", value: "Decrease the opacity of images on the dark and black themes", comment: "Footer of the Theme options section in Appearance settings, explaining image dimming"), items: [AppearanceSettingsCustomViewItem(title: nil, subtitle: nil, viewController: ImageDimmingExampleViewController(nibName: "ImageDimmingExampleViewController", bundle: nil)), AppearanceSettingsDimSwitchItem(title: CommonStrings.dimImagesTitle, subtitle: nil)]) let tableAutomaticOpenSection = AppearanceSettingsSection(headerTitle: WMFLocalizedString("appearance-settings-set-automatic-table-opening", value: "Table Settings", comment: "Tables in article will be opened automatically"), footerText: WMFLocalizedString("appearance-settings-expand-tables-footer", value: "Set all tables in all articles to be open by default, including Quick facts, References, Notes and External links.", comment: "Footer of the expand tables section in Appearance settings, explaining the expand tables setting"), items: [AppearanceSettingsAutomaticTableOpenSwitchItem(title: WMFLocalizedString("appearance-settings-expand-tables", value: "Expand tables", comment: "Title for the setting that expands tables in an article by default"), subtitle: nil)]) - let textSizingSection = AppearanceSettingsSection(headerTitle: WMFLocalizedString("appearance-settings-adjust-text-sizing", value: "Adjust article text sizing", comment: "Header of the Text sizing section in Appearance settings"), footerText: nil, items: [AppearanceSettingsCustomViewItem(title: nil, subtitle: nil, viewController: TextSizeChangeExampleViewController(nibName: "TextSizeChangeExampleViewController", bundle: nil)), AppearanceSettingsSpacerViewItem(title: nil, subtitle: nil, spacing: 15.0), AppearanceSettingsCustomViewItem(title: nil, subtitle: nil, viewController: FontSizeSliderViewController(nibName: "FontSizeSliderViewController", bundle: nil))]) + let textSizingSection = AppearanceSettingsSection(headerTitle: WMFLocalizedString("appearance-settings-adjust-text-sizing", value: "Adjust article text sizing", comment: "Header of the Text sizing section in Appearance settings"), footerText: nil, items: [AppearanceSettingsCustomViewItem(title: nil, subtitle: nil, viewController: TextSizeChangeExampleViewController(nibName: "TextSizeChangeExampleViewController", bundle: nil)), AppearanceSettingsCustomViewItem(title: nil, subtitle: nil, viewController: FontSizeSliderViewController(nibName: "FontSizeSliderViewController", bundle: nil))]) return [readingThemesSection, themeOptionsSection, tableAutomaticOpenSection, textSizingSection] } diff --git a/Wikipedia/Code/LibrariesUsed.storyboard b/Wikipedia/Code/LibrariesUsed.storyboard index 8efdb9f4ec8..d3c25a8cda6 100644 --- a/Wikipedia/Code/LibrariesUsed.storyboard +++ b/Wikipedia/Code/LibrariesUsed.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -21,9 +19,8 @@ - + - @@ -62,7 +59,7 @@ - + Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. diff --git a/Wikipedia/Code/NotificationsCenterFilterView.swift b/Wikipedia/Code/NotificationsCenterFilterView.swift index 589a0ad85b3..fd90e4b38c2 100644 --- a/Wikipedia/Code/NotificationsCenterFilterView.swift +++ b/Wikipedia/Code/NotificationsCenterFilterView.swift @@ -133,7 +133,7 @@ struct NotificationsCenterFilterView: View { } } } - .listStyle(GroupedListStyle()) + .listStyle(InsetGroupedListStyle()) .navigationBarItems( trailing: Button(action: { diff --git a/Wikipedia/Code/NotificationsCenterInboxView.swift b/Wikipedia/Code/NotificationsCenterInboxView.swift index 1333ebddcb2..5c062a2de6e 100644 --- a/Wikipedia/Code/NotificationsCenterInboxView.swift +++ b/Wikipedia/Code/NotificationsCenterInboxView.swift @@ -26,6 +26,7 @@ struct NotificationsCenterInboxView: View { var body: some View { WMFFormView(viewModel: viewModel.formViewModel) + .listStyle(InsetGroupedListStyle()) .navigationBarItems( trailing: Button(action: { diff --git a/Wikipedia/Code/SubSettingsViewController.xib b/Wikipedia/Code/SubSettingsViewController.xib index fb18c39e8c1..8935c98fac6 100644 --- a/Wikipedia/Code/SubSettingsViewController.xib +++ b/Wikipedia/Code/SubSettingsViewController.xib @@ -1,10 +1,9 @@ - - - - + + - + + @@ -20,15 +19,15 @@ - + - + @@ -36,7 +35,7 @@ - + diff --git a/Wikipedia/Code/WMFSettingsViewController.storyboard b/Wikipedia/Code/WMFSettingsViewController.storyboard index 5e1bedad3e4..7b883412ec8 100644 --- a/Wikipedia/Code/WMFSettingsViewController.storyboard +++ b/Wikipedia/Code/WMFSettingsViewController.storyboard @@ -1,10 +1,9 @@ - - - - + + - + + @@ -20,9 +19,8 @@ - + - @@ -44,7 +42,7 @@ - +