Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
be0bbbc8
Commit
be0bbbc8
authored
Jul 30, 2019
by
Hanwen Cheng
Browse files
fix: remove non-used code
parent
412394fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/colors.js
View file @
be0bbbc8
...
...
@@ -22,7 +22,6 @@ export default {
bg_positive
:
'
#72E762
'
,
bg_warning
:
'
#FAE265
'
,
bg_alert
:
'
#ED332B
'
,
bg_text_positive
:
'
#72E762
'
,
card_bg
:
'
#F9F9F9
'
,
card_text
:
'
#1A1A1A
'
,
card_bg_text_sec
:
'
#B4B5B0
'
...
...
src/components/Header.js
deleted
100644 → 0
View file @
412394fb
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import
React
from
'
react
'
;
import
{
Image
,
SafeAreaView
,
StyleSheet
,
Text
,
View
}
from
'
react-native
'
;
import
colors
from
'
../colors
'
;
export
default
function
()
{
return
(
<
SafeAreaView
style
=
{{
backgroundColor
:
colors
.
bg
}}
>
<
View
style
=
{
styles
.
row
}
>
<
Image
source
=
{
require
(
'
../../icon.png
'
)}
style
=
{
styles
.
logo
}
/
>
<
Text
style
=
{
styles
.
headerTextLeft
}
>
parity
<
/Text
>
<
Text
style
=
{
styles
.
headerTextRight
}
>
Secure
<
/Text
>
<
/View
>
<
/SafeAreaView
>
);
}
const
styles
=
StyleSheet
.
create
({
row
:
{
backgroundColor
:
colors
.
bg
,
height
:
60
,
flexDirection
:
'
row
'
,
alignItems
:
'
center
'
,
padding
:
14
,
borderBottomWidth
:
0.5
,
borderBottomColor
:
colors
.
bg_text_sec
},
logo
:
{
width
:
50
,
height
:
50
},
headerTextLeft
:
{
flex
:
1
,
paddingLeft
:
10
,
fontSize
:
25
,
fontFamily
:
'
Manifold CF
'
,
fontWeight
:
'
900
'
,
color
:
colors
.
bg_text
},
headerTextRight
:
{
marginLeft
:
0
,
fontFamily
:
'
Roboto
'
,
fontSize
:
17
,
fontWeight
:
'
bold
'
,
color
:
colors
.
bg_text_positive
}
});
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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