-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kien Tran
committed
Oct 11, 2018
1 parent
6ff05ca
commit 32c0c8b
Showing
22 changed files
with
218 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './location' | ||
export * from "./location"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"defaultSeverity": "error", | ||
"extends": [ | ||
"tslint:recommended" | ||
], | ||
"jsRules": {}, | ||
"rules": { | ||
"label-position": false, | ||
"trailing-comma": false, | ||
"object-literal-sort-keys": false, | ||
"no-console": false | ||
}, | ||
"rulesDirectory": [] | ||
} |
Submodule weather-ui
updated
from a9a0e8 to 506ac1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/* eslint-disable no-unused-vars */ | ||
import App from './config'; | ||
import App from './src/Navigation'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/* eslint-disable no-unused-vars */ | ||
import App from './config'; | ||
import App from "./App"; | ||
import {} from "./src/Navigation/index.ios"; | ||
|
||
const app = new App(); | ||
// const app = new App(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { Navigation, ScreenVisibilityListener } from "react-native-navigation"; | ||
import { Provider } from "react-redux"; | ||
import { applyMiddleware, createStore } from "redux"; | ||
import thunk from "redux-thunk"; | ||
import { | ||
configureStore, | ||
registerScreens, | ||
registerScreenVisibilityListener | ||
} from "./screens"; | ||
|
||
const store = configureStore(); | ||
registerScreens(store, Provider); | ||
registerScreenVisibilityListener(); | ||
|
||
const navigatorStyle = { | ||
statusBarColor: "black", | ||
statusBarTextColorScheme: "light", | ||
navigationBarColor: "black", | ||
navBarBackgroundColor: "#0a0a0a", | ||
navBarTextColor: "white", | ||
navBarButtonColor: "white", | ||
tabBarButtonColor: "red", | ||
tabBarSelectedButtonColor: "red", | ||
tabBarBackgroundColor: "white", | ||
topBarElevationShadowEnabled: false, | ||
navBarHideOnScroll: true, | ||
tabBarHidden: true, | ||
drawUnderTabBar: true | ||
}; | ||
|
||
// start the app | ||
Navigation.startTabBasedApp({ | ||
tabs: [ | ||
{ | ||
label: "Search", | ||
screen: "weather.SearchLocation", // this is a registered name for a screen | ||
title: "Screen One", | ||
icon: require("../Home/icon-home.png") // for icon button, provide the local image asset name | ||
}, | ||
{ | ||
label: "Settings", | ||
screen: "weather.Settings", // this is a registered name for a screen | ||
title: "Screen One", | ||
icon: require("../Home/icon-home.png") // for icon button, provide the local image asset name | ||
} | ||
], | ||
tabsStyle: { | ||
tabBarButtonColor: "#ffff00" // change the color of the tab icons and text (also unselected) | ||
} | ||
}); |
Oops, something went wrong.