From 186b7e0fe994f1194d6565e306eadb3ac07d35b1 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Wed, 28 Dec 2022 14:59:19 +1300 Subject: [PATCH] Remove ios check from SettingsPage These things are pointless unless I can get the app deployed to the iOS store. --- SettingsPage.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/SettingsPage.tsx b/SettingsPage.tsx index 2cdbfc9..4fb4d60 100644 --- a/SettingsPage.tsx +++ b/SettingsPage.tsx @@ -58,7 +58,6 @@ export default function SettingsPage() { setDate(settings.date) setShowDate(settings.showDate) setNoSound(settings.noSound) - if (Platform.OS !== 'android') return NativeModules.SettingsModule.ignoringBattery((isIgnoring: boolean) => { if (!isIgnoring && settings.alarm) setAlarm(false) setIgnoring(isIgnoring)