You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Mobile: Support building for web (#10650)
This commit is contained in:
@@ -19,8 +19,12 @@ const getWebViewVersionText = () => {
|
||||
const getOSVersion = (): string => {
|
||||
if (Platform.OS === 'android') {
|
||||
return _('Android API level: %d', Platform.Version);
|
||||
} else {
|
||||
} else if (Platform.OS === 'ios') {
|
||||
return _('iOS version: %s', Platform.Version);
|
||||
} else if (Platform.OS === 'web') {
|
||||
return `User agent: ${navigator.userAgent}`;
|
||||
} else {
|
||||
return _('Unknown platform');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user