aboutsummaryrefslogtreecommitdiff
path: root/src/common/components/NativeInterface.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/components/NativeInterface.js')
-rw-r--r--src/common/components/NativeInterface.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/components/NativeInterface.js b/src/common/components/NativeInterface.js
index b088de0e..d43b678c 100644
--- a/src/common/components/NativeInterface.js
+++ b/src/common/components/NativeInterface.js
@@ -37,7 +37,7 @@ const NativeInterface = () => {
}, [setNotificationToken]);
useEffectAsync(async () => {
- if (user && !user.readonly && notificationToken) {
+ if (user && notificationToken) {
window.localStorage.setItem('notificationToken', notificationToken);
setNotificationToken(null);