Skip to content

Commit

Permalink
Conform to findByName change
Browse files Browse the repository at this point in the history
  • Loading branch information
acquitelol committed Mar 27, 2023
1 parent c85a456 commit a5d2bd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"esbuild": "^0.16.14",
"rollup": "^3.9.1",
"rollup-plugin-esbuild": "^5.0.0",
"vendetta-types": "^2.3.17"
"vendetta-types": "latest"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { findByDisplayName, findByProps, findByStoreName } from "@vendetta/metro";
import { findByName, findByProps, findByStoreName } from "@vendetta/metro";
import { ReactNative } from "@vendetta/metro/common";
import { after, instead } from "@vendetta/patcher";
import { storage } from "@vendetta/plugin";
import Settings from "./components/Settings";
import { DefaultNativeEvent, DoubleTapStateProps, Plugin, NativeEvent } from "./types";

const Chat = findByDisplayName("Chat");
const Chat = findByName("Chat");
const ChatInputRef = findByProps("insertText");
const MessageStore = findByStoreName("MessageStore");
const UserStore = findByStoreName("UserStore");
Expand Down

0 comments on commit a5d2bd5

Please sign in to comment.