Commit be0bbbc8 authored by Hanwen Cheng's avatar Hanwen Cheng
Browse files

fix: remove non-used code

parent 412394fb
......@@ -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'
......
// 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
}
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment