reza added somthing

master
ravino 3 years ago
parent a6aee96c79
commit b1db5b2d03
  1. 4
      src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js
  2. 4
      src/views/Home/index.js
  3. 1
      src/views/QRScan/Scanner/index.js

@ -133,7 +133,7 @@ NavbarDrawer.defaultProps = {
}, },
{ {
name: "بارکد خوان", name: "بارکد خوان",
link: "/qr-code", link: "/qr-scan",
icon: <img src={qrcode} alt="بارکد خوان" />, icon: <img src={qrcode} alt="بارکد خوان" />,
toast: "", toast: "",
}, },
@ -157,7 +157,7 @@ NavbarDrawer.defaultProps = {
}, },
{ {
name: "پیام رسان", name: "پیام رسان",
link: "/chat", link: "/chatroom",
icon: <img src={mobileMail} alt="بلاگ" />, icon: <img src={mobileMail} alt="بلاگ" />,
toast: "", toast: "",
}, },

@ -219,7 +219,7 @@ Home.defaultProps = {
design: "flex", design: "flex",
title: "دانوینی ها", title: "دانوینی ها",
subTitle: "", subTitle: "",
link: '', link: '/chatroom',
badge : '5 پیام جدید', badge : '5 پیام جدید',
flex : 1.6, flex : 1.6,
fontSize : 'normal', fontSize : 'normal',
@ -318,7 +318,7 @@ Home.defaultProps = {
subTitle: "", subTitle: "",
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
link: '/contact', link: '/chatroom',
badge : '', badge : '',
flex : 1, flex : 1,
fontSize : 'normal', fontSize : 'normal',

@ -34,6 +34,7 @@ export default class Scanner extends Component {
onError={this.handleError} onError={this.handleError}
onScan={this.handleScan} onScan={this.handleScan}
legacyMode={true} legacyMode={true}
facingMode={'user'}
/> />
</> </>
) )

Loading…
Cancel
Save