Fix Lazy Loading for Themes #827

Merged
sarah merged 2 commits from theme-loading-fix into trunk 2024-02-14 04:06:39 +00:00
Owner
No description provided.
dan was assigned by sarah 2024-02-14 01:01:45 +00:00
sarah added 1 commit 2024-02-14 01:01:46 +00:00
dan approved these changes 2024-02-14 02:26:06 +00:00
dan left a comment
Owner

approved pending #829

approved pending #829
@ -40,3 +28,1 @@
if (themeId == mode_dark) {
themeId = cwtch_theme;
mode = mode_dark;
LoadThemes(String cwtchDir) async {
Owner

we should clear themes or on loading built in themes we should assign those to themes, otherwise successive calls will double up

we should clear themes or on loading built in themes we should assign those to themes, otherwise successive calls will double up
@ -41,2 +28,2 @@
themeId = cwtch_theme;
mode = mode_dark;
LoadThemes(String cwtchDir) async {
loadBuiltinThemes().then((dir) {
Owner

argument should be called like builtInThemes or something, not dir

argument should be called like `builtInThemes` or something, not `dir`
sarah added 3 commits 2024-02-14 03:17:55 +00:00
sarah changed target branch from 0.0.12 to trunk 2024-02-14 03:21:00 +00:00
sarah force-pushed theme-loading-fix from 726c63c485 to 13a57844af 2024-02-14 03:21:18 +00:00 Compare
sarah force-pushed theme-loading-fix from 13a57844af to f046dd923e 2024-02-14 04:06:02 +00:00 Compare
sarah merged commit 3d2b960a20 into trunk 2024-02-14 04:06:39 +00:00
Sign in to join this conversation.
No reviewers
dan
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#827
No description provided.