Skip to content

Commit

Permalink
Fix QR going off screen
Browse files Browse the repository at this point in the history
  • Loading branch information
UnluckyBird committed Dec 17, 2023
1 parent 7c08760 commit 96063ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/(tabs)/notice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ export default function NoticeScreen() {
<View style={styles.groupInfo}>
<View>
<Text>Group name: {groupName}</Text>
<Text selectable={true}>Group ID: {groupId}</Text>
<Text selectable={true}>ID: {groupId}</Text>
</View>
<View style={styles.qrCodeIcon}>
<View style={{flex: 1}}>
<Pressable
style={styles.qrCodeIcon}
onPress={()=>{
setIsModalVisible(true)
}}>
Expand Down Expand Up @@ -131,7 +132,7 @@ const styles = StyleSheet.create({
qrCodeIcon: {
flex: 1,
justifyContent: 'center',
alignItems: 'center'
alignItems: 'center',
},
modalContainer: {
justifyContent: 'center',
Expand Down

0 comments on commit 96063ef

Please sign in to comment.