diff --git a/src/lib/ui/mobile.ts b/src/lib/ui/mobile.ts index d7bd4c3a..177c0992 100644 --- a/src/lib/ui/mobile.ts +++ b/src/lib/ui/mobile.ts @@ -57,7 +57,7 @@ export function showConfirm(message: string, confirmCallback: (dialog: Dialog.Di }); } -export function showToast(message: string, timeout: number | undefined, translateFn: TranslateFunction):void { +export function showToast(message: string, timeout: number | undefined, translateFn: TranslateFunction): void { f7ready((f7) => { f7.toast.create({ text: translateError(message, translateFn),