mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
apply a possible fix for user logout
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
} from '../../services/EventManager';
|
||||
import Navigation from '../../services/Navigation';
|
||||
import Sync from '../../services/Sync';
|
||||
import { editing, toTXT } from '../../utils';
|
||||
import { doInBackground, editing, toTXT } from '../../utils';
|
||||
import {
|
||||
ACCENT,
|
||||
COLOR_SCHEME,
|
||||
@@ -659,7 +659,7 @@ export const ActionSheetComponent = ({
|
||||
<TouchableOpacity
|
||||
activeOpacity={0.9}
|
||||
testID={notesnook.ids.dialogs.actionsheet.sync}
|
||||
onPress={async () => await Sync.run('local')}
|
||||
onPress={async () => await doInBackground(()=>Sync.run('local'))}
|
||||
style={{
|
||||
borderColor: colors.accent,
|
||||
paddingHorizontal: 5,
|
||||
|
||||
Reference in New Issue
Block a user