Add get update button to mobile version
This commit is contained in:
parent
41d5d01958
commit
ba34431be1
2 changed files with 6 additions and 0 deletions
1
assets/data/icons/RemixIcon/download-line.svg
Normal file
1
assets/data/icons/RemixIcon/download-line.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 19H21V21H3V19ZM13 13.1716L19.0711 7.1005L20.4853 8.51472L12 17L3.51472 8.51472L4.92893 7.1005L11 13.1716V2H13V13.1716Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 225 B |
|
|
@ -918,6 +918,11 @@ void FileSelectScreen::main_menu() {
|
|||
icon_text_transparent_option_selected_button("Donate", "data/icons/RemixIcon/hand-coin-line.svg", "Donate", false, [&] {
|
||||
SDL_OpenURL("https://infinipaint.com/donate.html");
|
||||
});
|
||||
if(main.updateCheckerData.showGui) {
|
||||
icon_text_transparent_option_selected_button("Get Update", "data/icons/RemixIcon/download-line.svg", "Get Update", false, [&] {
|
||||
SDL_OpenURL("https://infinipaint.com/download.html");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue