File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { findByProps } from "@vendetta/metro" ;
1+ import { findByProps , findByName } from "@vendetta/metro" ;
22import { React } from "@vendetta/metro/common" ;
33import { after , before } from "@vendetta/patcher" ;
44import { storage } from "@vendetta/plugin" ;
@@ -9,7 +9,8 @@ import { showToast } from "@vendetta/ui/toasts";
99const LazyActionSheet = findByProps ( "openLazy" , "hideActionSheet" ) ;
1010
1111// Components
12- const { FormRow : { default : FormRow , Icon } } = Forms ;
12+ const { FormRow } = Forms ;
13+ const Icon = findByName ( "Icon" ) ;
1314
1415const JSON_CODEBLOCK_PATTERN = / ^ ` ` ` (?: j s o n ) \n ( [ \s \S ] * ?) ` ` ` $ / gm
1516
Original file line number Diff line number Diff line change 1- import { Forms , General } from "@vendetta/ui/components" ;
1+ import { General } from "@vendetta/ui/components" ;
22import { getAssetIDByName } from "@vendetta/ui/assets" ;
3+ import { findByName } from "@vendetta/metro" ;
34
45// Components
56const { TouchableOpacity } = General ;
6- const { FormRow : { Icon } } = Forms ;
7+ const Icon = findByName ( "Icon" ) ;
78
89const Add = getAssetIDByName ( "ic_add_24px" ) ;
910
You can’t perform that action at this time.
0 commit comments