File tree Expand file tree Collapse file tree
app/components/Views/Notifications/NotificationsCategory Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 SegmentButton ,
55 SegmentGroup ,
66} from '@metamask/design-system-react-native' ;
7+ import { useTailwind } from '@metamask/design-system-twrnc-preset' ;
78
89import { strings } from '../../../../../locales/i18n' ;
910import { selectIsMetamaskNotificationsEnabled } from '../../../../selectors/notifications' ;
@@ -32,6 +33,7 @@ const NotificationsCategory = ({
3233 onSelect,
3334 testID,
3435} : NotificationsCategoryProps ) => {
36+ const tw = useTailwind ( ) ;
3537 const isMetamaskNotificationsEnabled = useSelector (
3638 selectIsMetamaskNotificationsEnabled ,
3739 ) ;
@@ -99,6 +101,7 @@ const NotificationsCategory = ({
99101 value = { selectedCategory }
100102 onChange = { handleSelect }
101103 twClassName = "gap-2 px-4 py-1"
104+ style = { tw . style ( 'flex-grow-0' ) }
102105 testID = { testID ?? NotificationsCategorySelectorsIDs . CONTAINER }
103106 >
104107 { tabs . map ( ( tab ) => (
You can’t perform that action at this time.
0 commit comments