Swap new tab and share buttons in tabs modal

zio/stable
Paul Frazee 2022-09-29 09:05:07 -05:00
parent 16fbefc354
commit 0312a8132c
1 changed files with 6 additions and 6 deletions

View File

@ -150,12 +150,12 @@ export const Component = observer(() => {
</View> </View>
<View style={[s.p10, styles.section]}> <View style={[s.p10, styles.section]}>
<View style={styles.btns}> <View style={styles.btns}>
<TouchableWithoutFeedback onPress={onPressNewTab}> <TouchableWithoutFeedback onPress={onPressShareTab}>
<View style={[styles.btn]}> <View style={[styles.btn]}>
<View style={styles.btnIcon}> <View style={styles.btnIcon}>
<FontAwesomeIcon size={16} icon="plus" /> <FontAwesomeIcon size={16} icon="share" />
</View> </View>
<Text style={styles.btnText}>New tab</Text> <Text style={styles.btnText}>Share</Text>
</View> </View>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
<TouchableWithoutFeedback onPress={onPressCloneTab}> <TouchableWithoutFeedback onPress={onPressCloneTab}>
@ -166,12 +166,12 @@ export const Component = observer(() => {
<Text style={styles.btnText}>Clone tab</Text> <Text style={styles.btnText}>Clone tab</Text>
</View> </View>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
<TouchableWithoutFeedback onPress={onPressShareTab}> <TouchableWithoutFeedback onPress={onPressNewTab}>
<View style={[styles.btn]}> <View style={[styles.btn]}>
<View style={styles.btnIcon}> <View style={styles.btnIcon}>
<FontAwesomeIcon size={16} icon="share" /> <FontAwesomeIcon size={16} icon="plus" />
</View> </View>
<Text style={styles.btnText}>Share</Text> <Text style={styles.btnText}>New tab</Text>
</View> </View>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
</View> </View>