Add get update button to mobile version

This commit is contained in:
Yousef Khadadeh 2026-06-03 12:31:41 +03:00
parent 41d5d01958
commit ba34431be1
2 changed files with 6 additions and 0 deletions

View 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

View file

@ -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");
});
}
}
}
});