[Update] Add update software UI(modal).

This commit is contained in:
Sakamoto Shiina committed 2024-11-30 20:41:53 +09:00
1 parent 5ddc77a9cc
commit b88efcdf08
7 files changed
+95 -1

No files matched your search

@@ -67,8 +67,10 @@ const SoftwareUpdateAvailableButton = () => {
const { t } = useTranslation();
if (currentIsSoftwareUpdateAvailable.data === false) return null;
const { updateOpenedQuickSetting } = useStore_OpenedQuickSetting();
return (
<button className={styles.software_update_button}>
<button className={styles.software_update_button} onClick={()=>updateOpenedQuickSetting("update_software")}>
<RefreshSvg className={styles.refresh_svg}/>
<p className={styles.software_update_label}>{t("main_page.update_available")}</p>
</button>