implement onboarding

This commit is contained in:
marlon-erler
2026-09-29 21:15:11 +02:00
parent fbc40b5e3e
commit 7a532bbf5c
13 changed files with 687 additions and 281 deletions
@@ -11,8 +11,8 @@ import ChatModel from "../../Model/Chat/chatModel";
export default class FileTransferViewModel extends Context {
// state
exitReception: ()=>void|undefined = undefined;
exitReception: () => void | undefined = undefined;
presentedModal: React.State<FileTransferModals | undefined> =
new React.State<any>(undefined);
@@ -219,13 +219,13 @@ export default class FileTransferViewModel extends Context {
};
correctTransferData = (): void => {
if (this.exitReception != undefined) {
this.presentedModal.value = undefined;
this.exitReception();
return;
}
this.showTransferDataInputModal()
}
if (this.exitReception != undefined) {
this.presentedModal.value = undefined;
this.exitReception();
return;
}
this.showTransferDataInputModal();
};
initiateTransfer = (): void => {
this.presentedModal.value = FileTransferModals.TransferDisplay;