reset windows on phones after ever refresh

This commit is contained in:
HF 2022-08-15 01:51:32 +02:00
parent 70e1e156a6
commit 89c0f0319c

View File

@ -470,7 +470,7 @@ export default function windows(
const showWindows = width > SCREEN_WIDTH_THRESHOLD;
if (action.type === 'RECEIVE_ME') {
if (state.modal) {
if (state.modal || !showWindows) {
// reset if out of date
return initialState;
}