Swap for chat icon
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M4 12a8 8 0 1 1 4.445 7.169 1 1 0 0 0-.629-.088l-3.537.662.7-3.415a1 1 0 0 0-.09-.66A7.961 7.961 0 0 1 4 12Zm8-10C6.477 2 2 6.477 2 12c0 1.523.341 2.968.951 4.262l-.93 4.537a1 1 0 0 0 1.163 1.184l4.68-.876A9.968 9.968 0 0 0 12 22c5.523 0 10-4.477 10-10S17.523 2 12 2ZM7.5 13.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm4.5 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm4.5 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z" clip-rule="evenodd"/></svg>
|
||||||
|
After Width: | Height: | Size: 567 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10a9.968 9.968 0 0 1-4.136-.893l-4.68.876a1 1 0 0 1-1.164-1.184l.931-4.537A9.965 9.965 0 0 1 2 12Zm4.25 0a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0Zm4.5 0a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0Zm5.75 1.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z" clip-rule="evenodd"/></svg>
|
||||||
|
After Width: | Height: | Size: 453 B |
@@ -0,0 +1,9 @@
|
|||||||
|
import {createSinglePathSVG} from './TEMPLATE'
|
||||||
|
|
||||||
|
export const Message_Stroke2_Corner0_Rounded_Filled = createSinglePathSVG({
|
||||||
|
path: 'M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10a9.968 9.968 0 0 1-4.136-.893l-4.68.876a1 1 0 0 1-1.164-1.184l.931-4.537A9.965 9.965 0 0 1 2 12Zm4.25 0a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0Zm4.5 0a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0Zm5.75 1.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z',
|
||||||
|
})
|
||||||
|
|
||||||
|
export const Message_Stroke2_Corner0_Rounded = createSinglePathSVG({
|
||||||
|
path: 'M4 12a8 8 0 1 1 4.445 7.169 1 1 0 0 0-.629-.088l-3.537.662.7-3.415a1 1 0 0 0-.09-.66A7.961 7.961 0 0 1 4 12Zm8-10C6.477 2 2 6.477 2 12c0 1.523.341 2.968.951 4.262l-.93 4.537a1 1 0 0 0 1.163 1.184l4.68-.876A9.968 9.968 0 0 0 12 22c5.523 0 10-4.477 10-10S17.523 2 12 2ZM7.5 13.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm4.5 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm4.5 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z',
|
||||||
|
})
|
||||||
@@ -41,8 +41,10 @@ import {Logo} from '#/view/icons/Logo'
|
|||||||
import {Logotype} from '#/view/icons/Logotype'
|
import {Logotype} from '#/view/icons/Logotype'
|
||||||
import {useDialogControl} from '#/components/Dialog'
|
import {useDialogControl} from '#/components/Dialog'
|
||||||
import {SwitchAccountDialog} from '#/components/dialogs/SwitchAccount'
|
import {SwitchAccountDialog} from '#/components/dialogs/SwitchAccount'
|
||||||
import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '#/components/icons/Envelope'
|
import {
|
||||||
import {Envelope_Filled_Stroke2_Corner0_Rounded as EnvelopeFilled} from '#/components/icons/Envelope'
|
Message_Stroke2_Corner0_Rounded as Message,
|
||||||
|
Message_Stroke2_Corner0_Rounded_Filled as MessageFilled,
|
||||||
|
} from '#/components/icons/Message'
|
||||||
import {styles} from './BottomBarStyles'
|
import {styles} from './BottomBarStyles'
|
||||||
|
|
||||||
type TabOptions =
|
type TabOptions =
|
||||||
@@ -247,12 +249,12 @@ export function BottomBar({navigation}: BottomTabBarProps) {
|
|||||||
testID="bottomBarMessagesBtn"
|
testID="bottomBarMessagesBtn"
|
||||||
icon={
|
icon={
|
||||||
isAtMessages ? (
|
isAtMessages ? (
|
||||||
<EnvelopeFilled
|
<MessageFilled
|
||||||
size="lg"
|
size="lg"
|
||||||
style={[styles.ctrlIcon, pal.text, styles.feedsIcon]}
|
style={[styles.ctrlIcon, pal.text, styles.feedsIcon]}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Envelope
|
<Message
|
||||||
size="lg"
|
size="lg"
|
||||||
style={[styles.ctrlIcon, pal.text, styles.feedsIcon]}
|
style={[styles.ctrlIcon, pal.text, styles.feedsIcon]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -33,8 +33,10 @@ import {Text} from '#/view/com/util/text/Text'
|
|||||||
import {Logo} from '#/view/icons/Logo'
|
import {Logo} from '#/view/icons/Logo'
|
||||||
import {Logotype} from '#/view/icons/Logotype'
|
import {Logotype} from '#/view/icons/Logotype'
|
||||||
import {Link} from 'view/com/util/Link'
|
import {Link} from 'view/com/util/Link'
|
||||||
import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '#/components/icons/Envelope'
|
import {
|
||||||
import {Envelope_Filled_Stroke2_Corner0_Rounded as EnvelopeFilled} from '#/components/icons/Envelope'
|
Message_Stroke2_Corner0_Rounded as Message,
|
||||||
|
Message_Stroke2_Corner0_Rounded_Filled as MessageFilled,
|
||||||
|
} from '#/components/icons/Message'
|
||||||
import {styles} from './BottomBarStyles'
|
import {styles} from './BottomBarStyles'
|
||||||
|
|
||||||
export function BottomBarWeb() {
|
export function BottomBarWeb() {
|
||||||
@@ -125,7 +127,7 @@ export function BottomBarWeb() {
|
|||||||
{gate('dms') && (
|
{gate('dms') && (
|
||||||
<NavItem routeName="Messages" href="/messages">
|
<NavItem routeName="Messages" href="/messages">
|
||||||
{({isActive}) => {
|
{({isActive}) => {
|
||||||
const Icon = isActive ? EnvelopeFilled : Envelope
|
const Icon = isActive ? MessageFilled : Message
|
||||||
return (
|
return (
|
||||||
<Icon
|
<Icon
|
||||||
size="lg"
|
size="lg"
|
||||||
|
|||||||
@@ -48,8 +48,10 @@ import {LoadingPlaceholder} from 'view/com/util/LoadingPlaceholder'
|
|||||||
import {PressableWithHover} from 'view/com/util/PressableWithHover'
|
import {PressableWithHover} from 'view/com/util/PressableWithHover'
|
||||||
import {Text} from 'view/com/util/text/Text'
|
import {Text} from 'view/com/util/text/Text'
|
||||||
import {UserAvatar} from 'view/com/util/UserAvatar'
|
import {UserAvatar} from 'view/com/util/UserAvatar'
|
||||||
import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '#/components/icons/Envelope'
|
import {
|
||||||
import {Envelope_Filled_Stroke2_Corner0_Rounded as EnvelopeFilled} from '#/components/icons/Envelope'
|
Message_Stroke2_Corner0_Rounded as Message,
|
||||||
|
Message_Stroke2_Corner0_Rounded_Filled as MessageFilled,
|
||||||
|
} from '#/components/icons/Message'
|
||||||
import {router} from '../../../routes'
|
import {router} from '../../../routes'
|
||||||
|
|
||||||
function ProfileCard() {
|
function ProfileCard() {
|
||||||
@@ -356,9 +358,9 @@ export function DesktopLeftNav() {
|
|||||||
<NavItem
|
<NavItem
|
||||||
href="/messages"
|
href="/messages"
|
||||||
count={numUnreadMessages.numUnread}
|
count={numUnreadMessages.numUnread}
|
||||||
icon={<Envelope style={pal.text} width={isDesktop ? 26 : 30} />}
|
icon={<Message style={pal.text} width={isDesktop ? 26 : 30} />}
|
||||||
iconFilled={
|
iconFilled={
|
||||||
<EnvelopeFilled style={pal.text} width={isDesktop ? 26 : 30} />
|
<MessageFilled style={pal.text} width={isDesktop ? 26 : 30} />
|
||||||
}
|
}
|
||||||
label={_(msg`Messages`)}
|
label={_(msg`Messages`)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user