codestyle

This commit is contained in:
Overtorment 2018-03-17 19:06:48 +00:00 committed by Igor Korsakov
parent 38226af505
commit 940debfd38
2 changed files with 5 additions and 63 deletions

View File

@ -1,7 +1,6 @@
/* global describe, it, jest */ /* global describe, it */
import React from 'react' import { LegacyWallet } from './class'
import { AppStorage, LegacyWallet, SegwitBech32Wallet, SegwitP2SHWallet } from './class'
let assert = require('assert') let assert = require('assert')
describe('unit - LegacyWallet', function () { describe('unit - LegacyWallet', function () {

View File

@ -1,16 +1,11 @@
/** @type {AppStorage} */ /** @type {AppStorage} */
let BlueApp = require('./BlueApp')
import React, { Component } from 'react' import React, { Component } from 'react'
import { Button } from 'react-native-elements'
import { SafeAreaView } from 'react-navigation' import { SafeAreaView } from 'react-navigation'
import { FormLabel, FormInput, Divider, Icon, Card, Text, Header, List, ListItem, Avatar } from 'react-native-elements' import { Button, FormLabel, FormInput, Card, Text, Header, List, ListItem } from 'react-native-elements'
import { ActivityIndicator, StyleSheet, ListView, View } from 'react-native' import { ActivityIndicator, ListView, View } from 'react-native'
let BlueApp = require('./BlueApp')
export class BlueButton extends Component { export class BlueButton extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<Button <Button
@ -26,10 +21,6 @@ export class BlueButton extends Component {
} }
export class SafeBlueArea extends Component { export class SafeBlueArea extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<SafeAreaView <SafeAreaView
@ -41,10 +32,6 @@ export class SafeBlueArea extends Component {
} }
export class BlueCard extends Component { export class BlueCard extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<Card <Card
@ -58,10 +45,6 @@ export class BlueCard extends Component {
} }
export class BlueText extends Component { export class BlueText extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<Text <Text
@ -73,10 +56,6 @@ export class BlueText extends Component {
} }
export class BlueListItem extends Component { export class BlueListItem extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<ListItem <ListItem
@ -90,10 +69,6 @@ export class BlueListItem extends Component {
} }
export class BlueFormLabel extends Component { export class BlueFormLabel extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<FormLabel <FormLabel
@ -105,10 +80,6 @@ export class BlueFormLabel extends Component {
} }
export class BlueFormInput extends Component { export class BlueFormInput extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<FormInput <FormInput
@ -120,10 +91,6 @@ export class BlueFormInput extends Component {
} }
export class BlueHeader extends Component { export class BlueHeader extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<Header <Header
@ -135,10 +102,6 @@ export class BlueHeader extends Component {
} }
export class BlueSpacing extends Component { export class BlueSpacing extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<View <View
@ -150,10 +113,6 @@ export class BlueSpacing extends Component {
} }
export class BlueSpacing20 extends Component { export class BlueSpacing20 extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<View <View
@ -165,10 +124,6 @@ export class BlueSpacing20 extends Component {
} }
export class BlueListView extends Component { export class BlueListView extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<ListView <ListView
@ -179,10 +134,6 @@ export class BlueListView extends Component {
} }
export class BlueList extends Component { export class BlueList extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<List <List
@ -194,10 +145,6 @@ export class BlueList extends Component {
} }
export class BlueView extends Component { export class BlueView extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<View <View
@ -209,10 +156,6 @@ export class BlueView extends Component {
} }
export class BlueLoading extends Component { export class BlueLoading extends Component {
constructor (props) {
super(props)
}
render () { render () {
return ( return (
<SafeBlueArea > <SafeBlueArea >