Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into main
  • Loading branch information
PiyushM1 committed Mar 30, 2021
2 parents f6cfa6f + bda028b commit 6039d3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Frontend/screens/Scan.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Scan = ({ route, navigation }) => {
const [packageTag, setPackageTag] = useState(null);
const [modeTag, setModeTag] = useState(null);

const inFocus = navigation.addListener('state', () => {
const inFocus = navigation.addListener('focus', () => {
setScanned(false);
setSerialNumber(null);
setOrder(null);
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ It has been hosted on https://powerful-bastion-70976.herokuapp.com/ on Port 443.
- Password: admin,
- User Type: Delivery Personnel

- Restaurant
- Phone No.: 98985,
- Restaurant (Harley's Burgers)
- Phone No.: 98982,
- Password: admin,
- User Type: Restaurant

Expand All @@ -127,4 +127,4 @@ It has been hosted on https://powerful-bastion-70976.herokuapp.com/ on Port 443.
- Password: admin,
- User Type: Warehouse

Every phone number of the form 9898x belong to the restaurant for x = 2, 3, 4 and 5.
Every phone number of the form 9898x belong to the restaurant for x = 2, 3, 4 and 5 (all different restaurants). Password is same for all: admin.

0 comments on commit 6039d3c

Please sign in to comment.