Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
radegast
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jan Hrabal
radegast
Commits
c28b2eda
Commit
c28b2eda
authored
Jul 10, 2019
by
jhrabal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
radegast
parent
795cf8b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
App.js
mobile/App.js
+7
-4
No files found.
mobile/App.js
View file @
c28b2eda
...
@@ -105,7 +105,7 @@ class App extends React.PureComponent {
...
@@ -105,7 +105,7 @@ class App extends React.PureComponent {
buttons
.
push
(
buttons
.
push
(
<
TouchableOpacity
key
=
{
i
}
onPress
=
{
this
.
onPress
(
i
)
}
>
<
TouchableOpacity
key
=
{
i
}
onPress
=
{
this
.
onPress
(
i
)
}
>
<
View
style
=
{
styles
.
rating
}
>
<
View
style
=
{
styles
.
rating
}
>
<
Text
style
=
{
styles
.
ratingNumber
}
>
{
i
}
<
/Text
>
<
View
style
=
{
styles
.
ratingNumber
}
><
Text
>
{
i
}
<
/Text></
View
>
{
showInfo
&&
lastRating
&&
i
<=
lastRating
?
<
Image
source
=
{
require
(
'./assets/siska.png'
)
}
style
=
{
styles
.
ratingImage
}
/> : null
}
{
showInfo
&&
lastRating
&&
i
<=
lastRating
?
<
Image
source
=
{
require
(
'./assets/siska.png'
)
}
style
=
{
styles
.
ratingImage
}
/> : null
}
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
...
@@ -179,7 +179,10 @@ const styles = EStyleSheet.create({
...
@@ -179,7 +179,10 @@ const styles = EStyleSheet.create({
borderRadius
:
'1rem'
,
borderRadius
:
'1rem'
,
width
:
'2rem'
,
width
:
'2rem'
,
height
:
'2rem'
,
height
:
'2rem'
,
textAlign
:
'center'
textAlign
:
'center'
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
},
},
ratingImage
:
{
ratingImage
:
{
...
@@ -190,5 +193,4 @@ const styles = EStyleSheet.create({
...
@@ -190,5 +193,4 @@ const styles = EStyleSheet.create({
}
}
});
});
\ No newline at end of file
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