Rename to GeneralSettingsViewController.

This commit is contained in:
Brent Simmons committed 2026-11-14 11:04:29 -08:00
1 parent c05caca971
commit f90afe45c7
3 files changed
+7 -7

No files matched your search

@@ -1,5 +1,5 @@
//
// AppearanceSettingsViewController.swift
// GeneralSettingsViewController.swift
// NetNewsWire-iOS
//
// Created by Brent Simmons on 11/14/26.
@@ -8,7 +8,7 @@
import UIKit
final class AppearanceSettingsViewController: UITableViewController {
final class GeneralSettingsViewController: UITableViewController {
private enum Row: Int, CaseIterable {
case colorPalette
@@ -34,7 +34,7 @@ final class AppearanceSettingsViewController: UITableViewController {
override func viewDidLoad() {
super.viewDidLoad()
title = NSLocalizedString("Appearance", comment: "Preferences")
title = NSLocalizedString("General", comment: "Preferences")
NotificationCenter.default.addObserver(self, selector: #selector(handleUserInterfaceColorPaletteDidUpdate(_:)), name: .userInterfaceColorPaletteDidUpdate, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleUnreadCountDisplaySettingDidChange(_:)), name: .unreadCountDisplaySettingDidChange, object: nil)
@@ -96,7 +96,7 @@ final class AppearanceSettingsViewController: UITableViewController {
// MARK: - Private
private extension AppearanceSettingsViewController {
private extension GeneralSettingsViewController {
static func makePopUpButton() -> UIButton {
var configuration = UIButton.Configuration.plain()
+2 -2
View File
@@ -115,7 +115,7 @@
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection id="Trb-eL-9xZ">
<tableViewSection headerTitle="Appearance" id="Trb-eL-9xZ">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" textLabel="Apr-lb-4bR" style="IBUITableViewCellStyleDefault" id="Apr-Cel-7rY" customClass="VibrantTableViewCell" customModule="NetNewsWire" customModuleProvider="target">
<rect key="frame" x="20" y="1208" width="374" height="51"/>
@@ -124,7 +124,7 @@
<rect key="frame" x="0.0" y="0.0" width="343.5" height="51"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Appearance" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" id="Apr-lb-4bR">
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="General" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" id="Apr-lb-4bR">
<rect key="frame" x="20" y="0.0" width="315.5" height="51"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
+1 -1
View File
@@ -198,7 +198,7 @@ final class SettingsViewController: UITableViewController {
case .articles:
self.navigationController?.pushViewController(ArticlesSettingsViewController(), animated: true)
case .appearance:
self.navigationController?.pushViewController(AppearanceSettingsViewController(), animated: true)
self.navigationController?.pushViewController(GeneralSettingsViewController(), animated: true)
default:
break
}