Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: android ui issue #1375 and #1374

Ilian Sapundshiev9e376c08b058
diff --git a/app/components/dialogs/OnboardingDialog.tsx b/app/components/dialogs/OnboardingDialog.tsx
index 88ed73800..0bb628f0a 100644
--- a/app/components/dialogs/OnboardingDialog.tsx
+++ b/app/components/dialogs/OnboardingDialog.tsx
@@ -122,7 +122,8 @@ const OnboardingDialog = (props: Props) => {
>
<div
style={{
- textAlign: 'center'
+ textAlign: 'center',
+ overflowX: 'hidden'
}}
>
<Typography variant="h5">Welcome to TagSpaces</Typography>
diff --git a/app/services/cordova-io.ts b/app/services/cordova-io.ts
index 0bfbd1c86..4a99f5a07 100644
--- a/app/services/cordova-io.ts
+++ b/app/services/cordova-io.ts
@@ -449,6 +449,10 @@ export default class CordovaIO {
}
};
+ quitApp = (): void => {
+ navigator.app.exitApp();
+ };
+
/**
* Creates recursively a tree structure for a given directory path
*/
diff --git a/app/services/objectstore-io.ts b/app/services/objectstore-io.ts
index e0e430123..ecb9765b1 100644
--- a/app/services/objectstore-io.ts
+++ b/app/services/objectstore-io.ts
@@ -88,6 +88,10 @@ export default class ObjectStoreIO {
return this.objectStore.getSignedUrl('getObject', params);
};
+ quitApp = (): void => {
+ window.close();
+ };
+
listMetaDirectoryPromise = async (path: string): Promise<Array<any>> => {
const promise: Promise<Array<any>> = new Promise(resolve => {
const entries = [];
diff --git a/app/services/webdav-io.ts b/app/services/webdav-io.ts
index 72b037d5f..0aa0539d7 100644
--- a/app/services/webdav-io.ts
+++ b/app/services/webdav-io.ts
@@ -131,6 +131,10 @@ export default class WebDAVIO {
return false;
};
+ quitApp = (): void => {
+ window.close();
+ };
+
/**
* Creates recursively a tree structure for a given directory path
* @param {string} dirPath - the full path of the directory for which the tree will be generated