TagSpaces is an offline, open source, document manager with tagging support
fix: optimizations for android
Ilian Sapundshiev824bfa079588
diff --git a/app/components/dialogs/CreateEditLocationDialog.tsx b/app/components/dialogs/CreateEditLocationDialog.tsxindex cbe24db19..0cfdd33f1 100644--- a/app/components/dialogs/CreateEditLocationDialog.tsx+++ b/app/components/dialogs/CreateEditLocationDialog.tsx@@ -581,12 +581,16 @@ function CreateEditLocationDialog(props: Props) {/>)}<FormControlLabel+ disabled={+ !Pro ||+ type === locationType.TYPE_CLOUD ||+ AppConfig.isCordova+ }className={classes.formControl}labelPlacement="start"style={{ justifyContent: 'space-between' }}control={<Switch- disabled={!Pro || type === locationType.TYPE_CLOUD}data-tid="changeWatchForChanges"name="watchForChanges"checked={watchForChanges}diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsxindex c59505334..1bd875016 100644--- a/app/perspectives/grid-perspective/components/GridPagination.tsx+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx@@ -417,9 +417,13 @@ function GridPagination(props: Props) {>{i18n.t('core:noFileFolderFound')}</Typography>- <Typography style={{ color: theme.palette.text.secondary }}>- {i18n.t('core:dragAndDropToImport')}- </Typography>+ {+ !AppConfig.isCordova(+ <Typography style={{ color: theme.palette.text.secondary }}>+ {i18n.t('core:dragAndDropToImport')}+ </Typography>+ )+ }</div>)}{!isAppLoading &&@@ -433,9 +437,13 @@ function GridPagination(props: Props) {>{i18n.t('core:noFileButFoldersFound')}</Typography>- <Typography style={{ color: theme.palette.text.secondary }}>- {i18n.t('core:dragAndDropToImport')}- </Typography>+ {+ !AppConfig.isCordova(+ <Typography style={{ color: theme.palette.text.secondary }}>+ {i18n.t('core:dragAndDropToImport')}+ </Typography>+ )+ }</div>)}</div>