diff --git a/app/src/page/rewards/view.js b/app/src/page/rewards/view.js index b498403..341f452 100644 --- a/app/src/page/rewards/view.js +++ b/app/src/page/rewards/view.js @@ -7,7 +7,6 @@ import { Text, View } from 'react-native'; -import { doInstallNew } from 'lbryinc'; import Colors from '../../styles/colors'; import Link from '../../component/link'; import PhoneNumberRewardSubcard from '../../component/phoneNumberRewardSubcard'; diff --git a/app/src/page/splash/index.js b/app/src/page/splash/index.js index 940e9de..d9ac7ed 100644 --- a/app/src/page/splash/index.js +++ b/app/src/page/splash/index.js @@ -17,7 +17,7 @@ const select = state => ({ }); const perform = dispatch => ({ - authenticate: (appVersion, deviceId) => dispatch(doAuthenticate(appVersion, deviceId)), + authenticate: (appVersion, os) => dispatch(doAuthenticate(appVersion, os)), deleteCompleteBlobs: () => dispatch(doDeleteCompleteBlobs()), balanceSubscribe: () => dispatch(doBalanceSubscribe()), notify: data => dispatch(doNotify(data)), diff --git a/app/src/page/splash/view.js b/app/src/page/splash/view.js index dcd619b..debde4b 100644 --- a/app/src/page/splash/view.js +++ b/app/src/page/splash/view.js @@ -149,7 +149,7 @@ class SplashScreen extends React.PureComponent { balanceSubscribe(); NativeModules.VersionInfo.getAppVersion().then(appVersion => { this.setState({ shouldAuthenticate: true }); - authenticate(`android-${appVersion}`); + authenticate(appVersion, Platform.OS); }); });