Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit bc4f9bf

Browse files
authored
Merge pull request #139 from BoostIO/add-refresh-button
Add refresh button at note list in dropbox
2 parents 2fd251e + 444e81c commit bc4f9bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/views/DropboxNoteList.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ const styles = {
127127
fontWeight: '600',
128128
fontSize: 14,
129129
textAlignVertical: 'center'
130+
},
131+
refreshButton: {
132+
backgroundColor: 'transparent',
133+
position: 'absolute',
134+
right: 10
130135
}
131136
}
132137

@@ -438,6 +443,11 @@ export default class DropboxNoteList extends Component {
438443
}}>
439444
Dropbox
440445
</Text>
446+
<Button style={styles.refreshButton} onPress={() => this.getToken()}>
447+
<Text style={{ color: "rgba(40,44,52,0.4)", right: 1, position: 'absolute' }}>
448+
<Icon name='md-refresh' style={{color: "rgba(40,44,52,0.4)"}}/>
449+
</Text>
450+
</Button>
441451
</View>
442452
{
443453
// Show Dropbox connect button when...

0 commit comments

Comments
 (0)