Update src/screens/Settings/LabSettings/FeatureGateDialog.tsx
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
@@ -99,8 +99,7 @@ export function FeatureGateDialog({
|
||||
onPress={() => {
|
||||
setIsRestarting(true)
|
||||
if (isWeb) {
|
||||
/* @ts-ignore web only */
|
||||
navigation.reload()
|
||||
location.reload()
|
||||
} else {
|
||||
Updates.reloadAsync()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user