1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Mobile: Resolves #1998: Allow selecting camera ratio and fixed camera view aspect ratio. Also made camera type persistent.

This commit is contained in:
Laurent Cozic
2019-10-16 23:52:22 +02:00
parent 3281ab05b1
commit 58b307ba02
3 changed files with 147 additions and 30 deletions

View File

@ -42,6 +42,7 @@ shim.platformName = function() {
throw new Error('Cannot determine platform');
};
// "ios" or "android", or "" if not on mobile
shim.mobilePlatform = function() {
return ''; // Default if we're not on mobile (React Native)
};