fix: expose setReload function to the global window object for accessibility

This commit is contained in:
harukin-expo-dev-env
2026-04-30 14:01:55 +00:00
parent a9668e6d51
commit a8c785bf7f

View File

@@ -186,12 +186,13 @@ export const injectJavascriptData = ({
}
};
const setReload = () => {
window.setReload = () => {
try {
document.getElementById('refreshIcon').click();
setStrings();
} catch(e) {}
};
const setReload = window.setReload;
// ポーリング処理 (Phase 3 以降)
const startPolling = () => {