You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-12 22:57:38 +02:00
All: Optimised encryption and decryption of items so that it doesn't freeze the UI, especially on mobile
This commit is contained in:
@ -123,6 +123,12 @@ function shimInit() {
|
||||
shim.openUrl = (url) => {
|
||||
Linking.openURL(url);
|
||||
}
|
||||
|
||||
shim.waitForFrame = () => {
|
||||
return new Promise(function(resolve, reject) {
|
||||
requestAnimationFrame(function() { resolve(); });
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { shimInit };
|
Reference in New Issue
Block a user