Properly handle wakelock, fixes #237

This commit is contained in:
Håvar Aambø Fosstveit
2020-04-22 10:01:58 +02:00
parent e28b6cdc5d
commit 1cef52a3a1
7 changed files with 29 additions and 24 deletions
+3 -2
View File
@@ -4,9 +4,10 @@ export const setMe = ({ peerId, loginEnabled }) =>
payload : { peerId, loginEnabled }
});
export const setIsMobile = () =>
export const setBrowser = (browser) =>
({
type : 'SET_IS_MOBILE'
type : 'SET_BROWSER',
payload : { browser }
});
export const loggedIn = (flag) =>