Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Feature: user-selectable theme#460

Merged
bourvill merged 4 commits into
wallabag:mainfrom
benrhughes:feature/theme
Feb 25, 2026
Merged

Feature: user-selectable theme#460
bourvill merged 4 commits into
wallabag:mainfrom
benrhughes:feature/theme

Conversation

@benrhughes
Copy link
Copy Markdown
Contributor

Add the ability for users to select the theme (light/dark/auto).

I added translations for each supported language - they are AI-generated so I apologise if they're incorrect (I have no way of confirming).

I also moved the language files and other resources into App/Resources to tidy up the directory structure a little.

image

Changed sorting state from @State to @AppStorage in EntriesView to ensure user preferences are saved to UserDefaults. Also made sorting criteria mutually exclusive for a better UX.
Moved language files and other resources into a sub-folder to clean up the structure a little.
@benrhughes benrhughes changed the title Feature/theme Feature: user-selectable theme Feb 24, 2026
Comment thread App/Features/Setting/SettingView.swift Outdated
@AppStorage("badge") var badge: Bool = true
@AppStorage("defaultMode") var defaultMode: String = RetrieveMode.allArticles.rawValue
@AppStorage("itemPerPageDuringSync") var itemPerPageDuringSync: Int = 50
@ObservedObject var appSetting: AppSetting = Container.shared.appSetting()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, use EnvironmentObject instead ObservedObject

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - I'm new to iOS dev so am still getting the hang of things. I've pushed an update with that change.

@bourvill bourvill merged commit 46b52d3 into wallabag:main Feb 25, 2026
1 check passed
@bourvill bourvill added this to the 7.9.0 milestone Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants