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={() => {
|
onPress={() => {
|
||||||
setIsRestarting(true)
|
setIsRestarting(true)
|
||||||
if (isWeb) {
|
if (isWeb) {
|
||||||
/* @ts-ignore web only */
|
location.reload()
|
||||||
navigation.reload()
|
|
||||||
} else {
|
} else {
|
||||||
Updates.reloadAsync()
|
Updates.reloadAsync()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user