Skip to content

Commit

Permalink
xd
Browse files Browse the repository at this point in the history
  • Loading branch information
Rider21 committed Mar 7, 2024
1 parent 1fa385b commit aec9b92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/screens/WebviewScreen/WebviewScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const WebviewScreen = ({ route, navigation }: WebviewScreenProps) => {
canGoBack={canGoBack}
canGoForward={canGoForward}
webView={webViewRef}
setMenuVisible={setMenuVisible}
goBack={() => {
saveData();
navigation.goBack();
Expand Down
4 changes: 2 additions & 2 deletions src/screens/WebviewScreen/components/Appbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ interface AppbarProps {
canGoBack: boolean;
canGoForward: boolean;
webView: RefObject<WebView>;
goBack: () => void;
setMenuVisible: () => void;
goBack: () => void;
}

const Appbar: React.FC<AppbarProps> = ({
Expand All @@ -28,8 +28,8 @@ const Appbar: React.FC<AppbarProps> = ({
canGoBack,
canGoForward,
webView,
goBack,
setMenuVisible,
goBack,
}) => {
const { top } = useSafeAreaInsets();

Expand Down

0 comments on commit aec9b92

Please sign in to comment.