Skip to content

Commit

Permalink
[*] fixed slider UI bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Heng30 committed Nov 12, 2023
1 parent 6ac06a8 commit 9684859
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rssbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ webbrowser = "0.8"
html2text = "0.6"
cmd_lib = "1.3"

slint = { version = "1.2", features = ["log"] }
slint = { version = "1", features = ["log"] }
uuid = { version = "1.3", features = ["v4"] }
reqwest = { version = "0.11", features = ["json", "socks"] }
tokio = {version = "1.17", features = ["full"]}

[build-dependencies]
slint-build = "1.2"
slint-build = "1"
cmd_lib = "1.3"

[target.'cfg(target_os = "windows")'.build-dependencies]
Expand Down
1 change: 1 addition & 0 deletions rssbox/ui/dialog/setting/ui.slint
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export component UI inherits VerticalLayout {
}

font-size-spin-box := SpinBox {
enabled: true;
minimum: 10;
maximum: 50;
}
Expand Down
2 changes: 1 addition & 1 deletion rssbox/ui/store.slint
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export global Store {
],
};

pure function rss-name(uuid: string, name: string) -> string {
pure public function rss-name(uuid: string, name: string) -> string {
if (uuid == "unread-uuid") {
return Store.translator.rss-unread;
} else if (uuid == "favorite-uuid") {
Expand Down

0 comments on commit 9684859

Please sign in to comment.