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:
parent
d6e7d6158c
commit
186b7e0fe9
|
@ -58,7 +58,6 @@ export default function SettingsPage() {
|
||||||
setDate(settings.date)
|
setDate(settings.date)
|
||||||
setShowDate(settings.showDate)
|
setShowDate(settings.showDate)
|
||||||
setNoSound(settings.noSound)
|
setNoSound(settings.noSound)
|
||||||
if (Platform.OS !== 'android') return
|
|
||||||
NativeModules.SettingsModule.ignoringBattery((isIgnoring: boolean) => {
|
NativeModules.SettingsModule.ignoringBattery((isIgnoring: boolean) => {
|
||||||
if (!isIgnoring && settings.alarm) setAlarm(false)
|
if (!isIgnoring && settings.alarm) setAlarm(false)
|
||||||
setIgnoring(isIgnoring)
|
setIgnoring(isIgnoring)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user