Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
safetcut-app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
atichat
safetcut-app
Commits
b9694aaa
Commit
b9694aaa
authored
Aug 15, 2019
by
OuiAtichat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conflict
parent
55df8217
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
AppNavigation.js
+2
-2
screens/Private/TimerScreen/TimerScreen.js
+18
-2
No files found.
AppNavigation.js
View file @
b9694aaa
...
@@ -194,7 +194,7 @@ const WithBottomTabStack = createBottomTabNavigator(
...
@@ -194,7 +194,7 @@ const WithBottomTabStack = createBottomTabNavigator(
Four
:
FourthStack
,
Four
:
FourthStack
,
},
},
{
{
initialRouteName
:
'
SmartMeter'
,
initialRouteName
:
'
Timer'
,
// default SmartMeter
tabBarComponent
:
props
=>
<
BottomNavigationTabs
{...
props
}
/>
,
tabBarComponent
:
props
=>
<
BottomNavigationTabs
{...
props
}
/>
,
tabBarOptions
:
{
tabBarOptions
:
{
keyboardHidesTabBar
:
true
,
keyboardHidesTabBar
:
true
,
...
@@ -235,7 +235,7 @@ const AppStack = createSwitchNavigator(
...
@@ -235,7 +235,7 @@ const AppStack = createSwitchNavigator(
Main
:
MainStack
,
Main
:
MainStack
,
},
},
{
{
initialRouteName
:
'Main'
,
initialRouteName
:
'Main'
,
//default AuthLoading
}
}
);
);
...
...
screens/Private/TimerScreen/TimerScreen.js
View file @
b9694aaa
...
@@ -277,7 +277,7 @@ export default class TimerScreen extends Component {
...
@@ -277,7 +277,7 @@ export default class TimerScreen extends Component {
height
:
30
,
height
:
30
,
borderColor
:
'#c7cad1'
,
borderColor
:
'#c7cad1'
,
}}
}}
inputStyle
=
{{
fontFamily
:
'Avenir-Roman'
,
fontSize
:
12
,
color
:
color
.
darkGrey
}}
inputStyle
=
{{
fontFamily
:
'Avenir-Roman'
,
fontSize
:
12
,
color
:
'#c7cad1'
}}
round
round
lightTheme
lightTheme
placeholder
=
"Search..."
placeholder
=
"Search..."
...
@@ -375,7 +375,23 @@ export default class TimerScreen extends Component {
...
@@ -375,7 +375,23 @@ export default class TimerScreen extends Component {
<
Button
<
Button
transparent
transparent
style
=
{{
flex
:
1
,
justifyContent
:
'center'
}}
style
=
{{
flex
:
1
,
justifyContent
:
'center'
}}
onPress
=
{()
=>
this
.
setState
({
isVisible
:
false
})}
onPress
=
{()
=>
this
.
setState
({
isVisible
:
false
,
timer
:
new
Date
(),
active
:
false
,
power
:
false
,
repeatDays
:
[
{
day
:
'S'
,
isRepeat
:
false
},
{
day
:
'M'
,
isRepeat
:
false
},
{
day
:
'T'
,
isRepeat
:
false
},
{
day
:
'W'
,
isRepeat
:
false
},
{
day
:
'T'
,
isRepeat
:
false
},
{
day
:
'F'
,
isRepeat
:
false
},
{
day
:
'S'
,
isRepeat
:
false
},
],
})
}
>
>
<
Text
style
=
{{
color
:
color
.
grey
}}
>
Cancel
<
/Text
>
<
Text
style
=
{{
color
:
color
.
grey
}}
>
Cancel
<
/Text
>
<
/Button
>
<
/Button
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment