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

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