From 3045faaed89118a9bbf38a6370416839c5c42a2e Mon Sep 17 00:00:00 2001
From: Tulir Asokan <tulir@maunium.net>
Date: Thu, 10 Sep 2020 15:28:38 +0300
Subject: [PATCH] Add another hacky fix for iOS

---
 web/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/index.js b/web/index.js
index c116130..6a90d54 100644
--- a/web/index.js
+++ b/web/index.js
@@ -169,7 +169,7 @@ class App extends Component {
 	}
 }
 
-const reload = () => window.location.reload()
+const reload = () => isMobileSafari ? (window.location.href = window.location.href) : window.location.reload()
 
 const Settings = () => html`
 	<section class="stickerpack settings" id="pack-settings" data-pack-id="settings">
-- 
GitLab