Remove ios check from SettingsPage

These things are pointless unless I
can get the app deployed to the iOS store.
This commit is contained in:
Brandon Presley 2022-12-28 14:59:19 +13:00
parent d6e7d6158c
commit 186b7e0fe9
1 changed files with 0 additions and 1 deletions

View File

@ -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)