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
5540ae16
Commit
5540ae16
authored
Jul 26, 2019
by
Tonk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e6e4f28c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
components/SwipeableRow.js
+3
-3
screens/Private/TimerScreen/TimerScreen.js
+2
-2
No files found.
components/SwipeableRow.js
View file @
5540ae16
...
@@ -10,7 +10,7 @@ import { Overlay } from 'react-native-elements';
...
@@ -10,7 +10,7 @@ import { Overlay } from 'react-native-elements';
const
AnimatedIcon
=
Animated
.
createAnimatedComponent
(
IconMaterialIcons
);
const
AnimatedIcon
=
Animated
.
createAnimatedComponent
(
IconMaterialIcons
);
const
Row
=
({
data
})
=>
(
const
Row
=
({
data
})
=>
(
<
RectButton
style
=
{
styles
.
rectButton
}
onPress
=
{()
=>
alert
(
'hello '
+
data
.
id
)}
>
<
RectButton
style
=
{
styles
.
rectButton
}
onPress
=
{()
=>
alert
(
'hello '
+
data
.
name
)}
>
<
View
<
View
style
=
{{
style
=
{{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -33,8 +33,8 @@ const Row = ({ data }) => (
...
@@ -33,8 +33,8 @@ const Row = ({ data }) => (
?
color
.
primary
?
color
.
primary
:
color
.
grey
:
color
.
grey
:
item
.
dayActive
:
item
.
dayActive
?
color
.
g
rey
?
color
.
darkG
rey
:
color
.
darkG
rey
,
:
color
.
g
rey
,
},
},
]}
]}
>
>
...
...
screens/Private/TimerScreen/TimerScreen.js
View file @
5540ae16
...
@@ -451,7 +451,7 @@ export default class TimerScreen extends Component {
...
@@ -451,7 +451,7 @@ export default class TimerScreen extends Component {
style
=
{{
flex
:
1
,
justifyContent
:
'center'
}}
style
=
{{
flex
:
1
,
justifyContent
:
'center'
}}
onPress
=
{()
=>
this
.
setState
({
isVisible
:
false
})}
onPress
=
{()
=>
this
.
setState
({
isVisible
:
false
})}
>
>
<
Text
style
=
{{
color
:
'#aeaeae'
}}
>
Cancel
<
/Text
>
<
Text
style
=
{{
color
:
color
.
grey
}}
>
Cancel
<
/Text
>
<
/Button
>
<
/Button
>
<
Button
<
Button
rounded
rounded
...
@@ -462,7 +462,7 @@ export default class TimerScreen extends Component {
...
@@ -462,7 +462,7 @@ export default class TimerScreen extends Component {
}}
}}
onPress
=
{()
=>
this
.
setState
({
isVisible
:
false
})}
onPress
=
{()
=>
this
.
setState
({
isVisible
:
false
})}
>
>
<
Text
style
=
{{
color
:
'#fff'
}}
>
Confirm
<
/Text
>
<
Text
style
=
{{
color
:
color
.
white
}}
>
Confirm
<
/Text
>
<
/Button
>
<
/Button
>
<
/View
>
<
/View
>
<
/ScrollView
>
<
/ScrollView
>
...
...
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