parent
f4db61aeec
commit
a84cab6bbf
|
@ -235,7 +235,13 @@ export default function SettingsPage() {
|
|||
await AppDataSource.initialize()
|
||||
await setRepo.createQueryBuilder().update().set({image: null}).execute()
|
||||
await update('sound', null)
|
||||
NativeModules.SettingsModule.ignoringBattery(
|
||||
async (isIgnoring: boolean) => {
|
||||
const {alarm} = await settingsRepo.findOne({where: {}})
|
||||
if (alarm && !isIgnoring) NativeModules.SettingsModule.ignoreBattery()
|
||||
reset({index: 0, routes: [{name: 'Settings'}]})
|
||||
},
|
||||
)
|
||||
}, [reset, update])
|
||||
|
||||
const exportDatabase = useCallback(async () => {
|
||||
|
|
|
@ -41,8 +41,8 @@ android {
|
|||
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 36150
|
||||
versionName "1.124"
|
||||
versionCode 36151
|
||||
versionName "1.125"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
if (isNewArchitectureEnabled()) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "massive",
|
||||
"version": "1.124",
|
||||
"version": "1.125",
|
||||
"private": true,
|
||||
"license": "GPL-3.0-only",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user