a lightweight, interval-based utility to combat digital strain through "Ma" (intentional pauses) for the eyes and body.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: replace appearance combobox with chip group

- three fixed short options, more visible
- profile selector can grow, don't switch

+3 -3
+3 -3
ui/views/profile_tab.slint
··· 4 4 import { PaperButton } from "../components/buttons.slint"; 5 5 import { NumberField, VolumeSlider, PaperComboBox } from "../components/inputs.slint"; 6 6 import { PaperToggle } from "../components/toggles.slint"; 7 + import { ChipGroup } from "../components/chips.slint"; 7 8 8 9 export component ProfileTab inherits ScrollView { 9 10 in-out property <bool> enforced-mode: false; ··· 190 191 191 192 Rectangle { horizontal-stretch: 1; } 192 193 193 - PaperComboBox { 194 - model: ["System", "Light", "Dark"]; 194 + ChipGroup { 195 + labels: ["System", "Light", "Dark"]; 195 196 selected-index: root.theme-mode; 196 - field-label: "Appearance"; 197 197 selection-changed(i) => { 198 198 root.theme-mode = i; 199 199 root.theme-mode-changed(i);