-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn users when before signing out with unsynced notes (#702)
* sign out warning, still a WIP * Adding a native dialog when on electron, otherwise a humble js `confirm()` dialog. * Removing some now-unused css. * Logging > Signing * Another update to `logging` vs `signing`. * Adding support to check Simperium's new `hasLocalChanges` to see if there's any local modifications to notes before signing out. * Changed an if statement to a ternary. * Removing if statement, not needed with the callback in Simperium * Use Promise.all so that we iterate through all notes until a rejection occurs. h/t @beaucollins
- Loading branch information
Showing
3 changed files
with
81 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters