Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
2114d01e
Commit
2114d01e
authored
Dec 27, 2017
by
Sébastiaan Versteeg
Browse files
Improve the UI of the error screen
parent
c2910c39
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/components/ErrorScreen.js
View file @
2114d01e
...
...
@@ -4,14 +4,14 @@ import PropTypes from 'prop-types';
import
styles
from
'
./style/errorScreen
'
;
const
smiley
=
require
(
'
../img/s
miley
.png
'
);
const
cloud
=
require
(
'
../img/s
ad_cloud
.png
'
);
const
ErrorScreen
=
props
=>
(
<
View
style
=
{
styles
.
content
}
>
<
Image
source
=
{
smiley
}
source
=
{
cloud
}
style
=
{
styles
.
image
}
/
>
<
Text
style
=
{
styles
.
text
}
>
{
props
.
message
}
<
/Text
>
...
...
app/components/style/errorScreen.js
View file @
2114d01e
...
...
@@ -10,7 +10,8 @@ const styles = create({
image
:
{
width
:
200
,
height
:
200
,
marginBottom
:
30
,
marginBottom
:
32
,
resizeMode
:
'
contain
'
,
},
text
:
{
android
:
{
...
...
@@ -20,8 +21,8 @@ const styles = create({
fontFamily
:
'
System
'
,
fontWeight
:
'
500
'
,
},
fontSize
:
1
8
,
color
:
colors
.
textColour
,
fontSize
:
1
6
,
color
:
colors
.
gray
,
textAlign
:
'
center
'
,
},
});
...
...
app/img/sad_cloud.png
0 → 100644
View file @
2114d01e
21.6 KB
app/img/smiley.png
deleted
100644 → 0
View file @
c2910c39
79.2 KB
Write
Preview
Supports
Markdown
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