commit fa695b94be01785853b88e75c43f7fe5bccda535
parent 6e691f922954225be07a8c48691cf00a9f78109c
Author: triesap <137732411+triesap@users.noreply.github.com>
Date: Wed, 28 Aug 2024 08:15:58 +0000
client: update capacitorclientshare type imports
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/src/capacitor/share.ts b/client/src/capacitor/share.ts
@@ -1,5 +1,5 @@
import { Share } from '@capacitor/share';
-import type { IClientShare, IClientShareOpts } from '../types';
+import type { IClientShare, IClientShareOpenOpts } from '../types';
export class CapacitorClientShare implements IClientShare {
public async status(): Promise<boolean> {
@@ -12,7 +12,7 @@ export class CapacitorClientShare implements IClientShare {
};
}
- public async open(opts: IClientShareOpts): Promise<void> {
+ public async open(opts: IClientShareOpenOpts): Promise<void> {
try {
const { title, text, url, files, dialog_title: dialogTitle } = opts;
await Share.share({