mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Android sharing working
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
diff --git a/node_modules/@types/react-native-share-menu/index.d.ts b/node_modules/@types/react-native-share-menu/index.d.ts
|
||||
index f52822c..b1d3bdd 100755
|
||||
index f52822c..ee98565 100755
|
||||
--- a/node_modules/@types/react-native-share-menu/index.d.ts
|
||||
+++ b/node_modules/@types/react-native-share-menu/index.d.ts
|
||||
@@ -6,9 +6,7 @@
|
||||
@@ -5,11 +5,9 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// Minimum TypeScript Version: 3.7
|
||||
|
||||
export interface ShareData {
|
||||
-export interface ShareData {
|
||||
- mimeType: string;
|
||||
- data: string | string[];
|
||||
- extraData?: object | undefined;
|
||||
-}
|
||||
+export type ShareData = {
|
||||
+ data: {mimeType: string; data: string}[];
|
||||
}
|
||||
+} | {mimeType: string; data: string | string[]}
|
||||
|
||||
export type ShareCallback = (share?: ShareData) => void;
|
||||
|
||||
@@ -28,7 +26,7 @@ interface ShareMenuReactView {
|
||||
dismissExtension(error?: string): void;
|
||||
openApp(): void;
|
||||
|
Reference in New Issue
Block a user