add selection of files to be exported
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -109,6 +109,7 @@ const englishTranslations = {
|
||||
exportHeadline: "Export Data",
|
||||
importHeadline: "Import Data",
|
||||
selectionDescription: "Select the data that you want to transfer.",
|
||||
exportSelectionDescription: "Select the data that you want to export.",
|
||||
dataEntryDescription: "Enter this data on the other device.",
|
||||
dataEntryInputDescription:
|
||||
"Enter the data displayed on the other device.",
|
||||
|
||||
@@ -157,12 +157,16 @@ export default class FileTransferViewModel extends Context {
|
||||
this.presentedModal.value = FileTransferModals.TransferDataInput;
|
||||
};
|
||||
|
||||
showExportSelectionModal = (): void => {
|
||||
this.presentedModal.value = FileTransferModals.ExportFileSelection;
|
||||
};
|
||||
|
||||
showExportModal = (): void => {
|
||||
this.presentedModal.value = FileTransferModals.ExportModal;
|
||||
this.presentedModal.value = FileTransferModals.Export;
|
||||
};
|
||||
|
||||
showImportModal = (): void => {
|
||||
this.presentedModal.value = FileTransferModals.ImportModal;
|
||||
this.presentedModal.value = FileTransferModals.Import;
|
||||
};
|
||||
|
||||
prepareReceivingData = (): void => {
|
||||
@@ -223,6 +227,7 @@ export enum FileTransferModals {
|
||||
ReceptionDisplay,
|
||||
|
||||
// export
|
||||
ExportModal,
|
||||
ImportModal,
|
||||
ExportFileSelection,
|
||||
Export,
|
||||
Import,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user