File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ macro_rules! button_wrapper {
178
178
impl Default for $name {
179
179
fn default ( ) -> Self {
180
180
Self {
181
- button: Button :: new( $text) ,
181
+ button: Button :: new( & $text) ,
182
182
}
183
183
}
184
184
}
@@ -215,7 +215,7 @@ macro_rules! button_wrapper {
215
215
}
216
216
217
217
button_wrapper ! ( LinkToBeta , BETA_LINK_TEXT ) ;
218
- button_wrapper ! ( LinkToStable , STABLE_LINK_TEXT ) ;
218
+ button_wrapper ! ( LinkToStable , format! ( "← { STABLE_LINK_TEXT}" ) ) ;
219
219
button_wrapper ! ( DownloadButton , DOWNLOAD_BUTTON_TEXT ) ;
220
220
button_wrapper ! ( CancelButton , CANCEL_BUTTON_TEXT ) ;
221
221
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub const BETA_PREFACE_DESC: &str = "Want to try the new Beta version? ";
17
17
pub const BETA_LINK_TEXT : & str = "Click here!" ;
18
18
19
19
/// 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" ;
21
21
22
22
/// Dimensions of cancel button (including padding)
23
23
pub const CANCEL_BUTTON_SIZE : ( usize , usize ) = ( 150 , 40 ) ;
You can’t perform that action at this time.
0 commit comments