fix sync not working in release mode

This commit is contained in:
ammarahm-ed
2021-05-25 10:36:49 +05:00
parent 087e42f267
commit 23b57df47c
17 changed files with 88 additions and 92 deletions

View File

@@ -659,7 +659,7 @@ export const ActionSheetComponent = ({
<TouchableOpacity
activeOpacity={0.9}
testID={notesnook.ids.dialogs.actionsheet.sync}
onPress={async () => await doInBackground(()=>Sync.run('local'))}
onPress={async () => await Sync.run()}
style={{
borderColor: colors.accent,
paddingHorizontal: 5,