Skip to content

Commit

Permalink
Refactor codebase (#56)
Browse files Browse the repository at this point in the history
* use constant for all routes/favorite stops, fix linting errors

* refactor Stops.js

* refactor vehicles to use selector

* refactor vehicleview

* refactor Map.js and Stops.js

* rename loading indicator

* move code into src folder

* refactor stop details view

* update version numbers
  • Loading branch information
patrickdemers6 authored Nov 16, 2022
1 parent 7d620b4 commit 7231be2
Show file tree
Hide file tree
Showing 40 changed files with 418 additions and 333 deletions.
2 changes: 1 addition & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Provider as PaperProvider } from 'react-native-paper';
import { RecoilRoot } from 'recoil';

import Main from './Main';
import Main from './src/Main';

const App = () => {
React.useEffect(() => {
Expand Down
4 changes: 2 additions & 2 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
expo: {
name: 'Ames Ride',
slug: 'AmesRide',
version: '1.0.4',
version: '1.0.5',
orientation: 'portrait',
icon: './assets/icon.png',
userInterfaceStyle: 'light',
Expand All @@ -20,7 +20,7 @@ module.exports = {
supportsTablet: true,
},
android: {
versionCode: 6,
versionCode: 7,
config: {
googleMaps: {
apiKey: process.env.GOOGLE_MAPS_API_KEY,
Expand Down
88 changes: 0 additions & 88 deletions components/Map/components/Stops.js

This file was deleted.

204 changes: 0 additions & 204 deletions components/StopInfo/components/StopDetailsView.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ames-ride",
"version": "1.0.4",
"version": "1.0.5",
"main": "node_modules/expo/AppEntry.js",
"license": "GNU3",
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 7231be2

Please sign in to comment.