Skip to content

Commit ad2c7e0

Browse files
committed
Ready to build.
1 parent 6f712b9 commit ad2c7e0

File tree

18 files changed

+1669
-1268
lines changed

18 files changed

+1669
-1268
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ android {
107107
applicationId "com.zer0net"
108108
minSdkVersion 21
109109
targetSdkVersion 26
110-
versionCode 180725
111-
versionName "18.7.25"
110+
versionCode 180806
111+
versionName "18.8.6"
112112
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative51" // <- See note below for further instruction regarding compatibility with other React Native versions
113113
// Available options:
114114
// reactNative51: Support for React Native 0.51-0.54

android/app/src/main/assets/index.android.bundle

Lines changed: 1465 additions & 1090 deletions
Large diffs are not rendered by default.

android/app/src/main/assets/index.android.bundle.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
�B�X�Hi�z���j֩�
1+
.y��o�6��6t#%lN�gT�t
33.5 KB
Loading

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
jcenter()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.1.3'
11+
classpath 'com.android.tools.build:gradle:3.1.4'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zeronet-explorer",
3-
"version": "18.7.25",
3+
"version": "18.8.6",
44
"private": true,
55
"scripts": {
66
"start": "node node_modules/react-native/local-cli/cli.js start",

src/components/P0rtalTopBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const styles = StyleSheet.create({
7777
justifyContent: 'space-between'
7878
},
7979
heading: {
80-
width: 200,
80+
width: 175,
8181
// backgroundColor: 'rgba(30, 120, 30, 0.2)',
8282
justifyContent: 'center'
8383
},

src/frames/P0rtal.js

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,17 @@ import { Welcome } from '../screens/P0rtal'
3434
export default class P0rtal extends React.Component {
3535
constructor(props) {
3636
super(props)
37+
console.log('P0rtal props', props)
38+
39+
this._loadProfile = this._loadProfile.bind(this)
40+
this._loadC0urier = this._loadC0urier.bind(this)
41+
this._loadInfluence = this._loadInfluence.bind(this)
42+
this._loadStreams = this._loadStreams.bind(this)
3743
}
3844

3945
render() {
4046
if (!stores.P0rtal.authorized) {
41-
return <Welcome />
47+
return <Welcome componentId={ 'zeronet.P0rtal' } />
4248
}
4349

4450
return <View style={ styles.container }>
@@ -48,11 +54,11 @@ export default class P0rtal extends React.Component {
4854
xlarge
4955
rounded
5056
source={{ uri: 'https://s3.amazonaws.com/uifaces/faces/twitter/adhamdannaway/128.jpg' }}
51-
onPress={ this._loadProfile.bind(this) }
57+
onPress={ this._loadProfile }
5258
activeOpacity={ 0.7 } />
5359

5460
<Button
55-
onPress={ this._loadProfile.bind(this) }
61+
onPress={ this._loadProfile }
5662
icon={{name: 'user', type: 'font-awesome'}}
5763
title='Edit Profile' />
5864
</View>
@@ -61,14 +67,14 @@ export default class P0rtal extends React.Component {
6167
<Button
6268
large
6369
style={{ flex: 1, width: 150 }}
64-
onPress={ this._loadC0urier.bind(this) }
70+
onPress={ this._loadC0urier }
6571
icon={{name: 'at', type: 'font-awesome'}}
6672
title='C0urier' />
6773

6874
<Button
6975
large
7076
style={{ flex: 1, width: 150 }}
71-
onPress={ this._loadInfluence.bind(this) }
77+
onPress={ this._loadInfluence }
7278
icon={{name: 'book', type: 'font-awesome'}}
7379
title='Influence' />
7480
</View>
@@ -77,15 +83,14 @@ export default class P0rtal extends React.Component {
7783
<Button
7884
large
7985
style={{ flex: 1, width: 150 }}
80-
onPress={ this._loadStreams.bind(this) }
86+
onPress={ this._loadStreams }
8187
icon={{name: 'rss-square', type: 'font-awesome'}}
8288
title='Streams' />
8389
</View>
8490
</View>
8591

8692
<TouchableHighlight
8793
onPress={ this._signOut }
88-
underlayColor={'rgba(0, 0, 0, 0.054)'}
8994
style={ styles.signOut }>
9095
<Text style={ styles.signOutText }>
9196
SIGNOUT

src/screens/P0rtal/C0urier.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@ import {
2424
export default class Courier extends React.Component {
2525
constructor(props) {
2626
super(props)
27-
28-
console.log('Courier received props', props)
2927
}
3028

3129
render() {
3230
return <View style={ styles.container }>
33-
3431
<View style={ [Styles.centerView, { paddingBottom: 100 }] }>
3532
<Icon name={'at'} style={ styles.icon } />
3633

@@ -39,7 +36,6 @@ export default class Courier extends React.Component {
3936
{'\n'}coming soon...
4037
</Text>
4138
</View>
42-
4339
</View>
4440
}
4541

@@ -58,11 +54,7 @@ export default class Courier extends React.Component {
5854
drawBehind: false
5955
}
6056
})
61-
62-
// stores.P0rtal.setP0rtalTitle('P0rtal')
63-
6457
}
65-
6658
}
6759

6860
const styles = StyleSheet.create({

0 commit comments

Comments
 (0)