Skip to content

Commit 63d105e

Browse files
committed
Fix stable link arrow
1 parent 23e742c commit 63d105e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

installer-downloader/src/cacao_impl/ui.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ macro_rules! button_wrapper {
178178
impl Default for $name {
179179
fn default() -> Self {
180180
Self {
181-
button: Button::new($text),
181+
button: Button::new(&$text),
182182
}
183183
}
184184
}
@@ -215,7 +215,7 @@ macro_rules! button_wrapper {
215215
}
216216

217217
button_wrapper!(LinkToBeta, BETA_LINK_TEXT);
218-
button_wrapper!(LinkToStable, STABLE_LINK_TEXT);
218+
button_wrapper!(LinkToStable, format!("← {STABLE_LINK_TEXT}"));
219219
button_wrapper!(DownloadButton, DOWNLOAD_BUTTON_TEXT);
220220
button_wrapper!(CancelButton, CANCEL_BUTTON_TEXT);
221221

installer-downloader/src/resource.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub const BETA_PREFACE_DESC: &str = "Want to try the new Beta version? ";
1717
pub const BETA_LINK_TEXT: &str = "Click here!";
1818

1919
/// Stable link text
20-
pub const STABLE_LINK_TEXT: &str = "Back to stable version";
20+
pub const STABLE_LINK_TEXT: &str = "Back to stable version";
2121

2222
/// Dimensions of cancel button (including padding)
2323
pub const CANCEL_BUTTON_SIZE: (usize, usize) = (150, 40);

0 commit comments

Comments
 (0)