Commit c17bcb84 authored by fro's avatar fro
Browse files

fix warnings

parent 57b36003
......@@ -20,9 +20,8 @@
* @flow
*/
import { AppRegistry, YellowBox } from 'react-native'
import App from './src/components/App'
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader'])
AppRegistry.registerComponent('NativeSigner', () => App)
......@@ -22,6 +22,6 @@
import { AppRegistry, YellowBox } from 'react-native'
import App from './src/components/App'
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader'])
AppRegistry.registerComponent('NativeSigner', () => App)
......@@ -10,6 +10,11 @@ import Foundation
@objc(EthkeyBridge)
class EthkeyBridge: NSObject {
open static func requiresMainQueueSetup() -> Bool {
return true;
}
@objc func brainWalletAddress(_ seed: String, resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) -> Void {
var seed_ptr = seed.asPtr()
let keypair_ptr = ethkey_keypair_brainwallet(&seed_ptr)
......
......@@ -18,7 +18,7 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { Button, View, Text, ListView, RecyclerViewBackedScrollView, StatusBar, StyleSheet } from 'react-native'
import { Button, View, Text, ListView, StatusBar, StyleSheet } from 'react-native'
import AccountListRow from './AccountListRow'
import AppStyles from '../styles'
......@@ -83,7 +83,6 @@ export default class AccountList extends Component {
)
}}
enableEmptySections
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}
>
<StatusBar barStyle='light-content' />
</ListView>
......
......@@ -28,7 +28,7 @@ import AccountNew from '../containers/AccountNew'
import AccountDetails from '../containers/AccountDetails'
import TxDetails from '../containers/TxDetails'
import { AccountEnterPin, AccountChangePin, AccountSetPin, AccountConfirmPin } from '../containers/AccountPin'
import { QrViewTransaction, QrViewAddress } from '../containers/QrView'
import { QrViewTransaction } from '../containers/QrView'
import DataDetails from '../containers/DataDetails'
import { loadAccounts, saveAccounts } from '../util/db'
import { setAccounts } from '../actions/accounts'
......
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