update App.js, Navbar.js and src/screens/Home/index.js

master
Reza_ashrafi 3 years ago
parent 5ef4fd15d5
commit 2611d03510
  1. 13
      App.js
  2. 1
      src/components/Navbar.js
  3. 10
      src/screens/Home/index.js

@ -8,6 +8,8 @@ import { Provider } from "react-redux";
import { store, persistor } from "./src/redux/store";
import React from "react";
import { PersistGate } from "redux-persist/integration/react";
import { copilot } from "react-native-copilot";
const App = () => {
const [appIsReady, setAppIsReady] = React.useState(false);
@ -60,6 +62,11 @@ const App = () => {
);
};
const styles = StyleSheet.create({});
export default App;
export default copilot({
labels: {
previous: "قبلی",
next: "بعدی",
skip: "رد کردن",
finish: "پایان",
},
})(App);

@ -81,6 +81,7 @@ const Navbar = ({
},
[theme]
);
return (
<View
style={[

@ -145,13 +145,5 @@ const mapDispatchToProps = {
setFirstLogin: publicApi.setFirstLogin,
};
const component = copilot({
labels: {
previous: "قبلی",
next: "بعدی",
skip: "رد کردن",
finish: "پایان",
},
})(Home);
export default connect(mapStateToProps, mapDispatchToProps)(component);
export default connect(mapStateToProps, mapDispatchToProps)(Home);

Loading…
Cancel
Save