Skip to content

Commit

Permalink
Fix banner height in edit profile modal (#5494)
Browse files Browse the repository at this point in the history
* fix banner height

* fix user banner, it's not edit profile's fault
  • Loading branch information
mozzius authored Sep 26, 2024
1 parent 78fb666 commit a9765fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/view/com/modals/EditProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ import {logger} from '#/logger'
import {isWeb} from '#/platform/detection'
import {useModalControls} from '#/state/modals'
import {useProfileUpdateMutation} from '#/state/queries/profile'
import {Text} from '#/view/com/util/text/Text'
import * as Toast from '#/view/com/util/Toast'
import {EditableUserAvatar} from '#/view/com/util/UserAvatar'
import {UserBanner} from '#/view/com/util/UserBanner'
import {ErrorMessage} from '../util/error/ErrorMessage'
import {Text} from '../util/text/Text'
import * as Toast from '../util/Toast'
import {EditableUserAvatar} from '../util/UserAvatar'
import {UserBanner} from '../util/UserBanner'

const AnimatedTouchableOpacity =
Animated.createAnimatedComponent(TouchableOpacity)
Expand Down
2 changes: 1 addition & 1 deletion src/view/com/util/UserBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const styles = StyleSheet.create({
},
bannerImage: {
width: '100%',
height: '100%',
height: 150,
},
defaultBanner: {
backgroundColor: '#0070ff',
Expand Down

0 comments on commit a9765fd

Please sign in to comment.