fix(StatusQ) removed old twitter icon, adjusted ProfileUtils linkTypeToIcon. (#15185)

fixes: #14300
This commit is contained in:
Roman Chornii 2024-06-17 11:05:38 +03:00 committed by GitHub
parent 7d5479f456
commit 357ff553b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 5 deletions

View File

@ -315,7 +315,6 @@
<file>assets/img/icons/touch-id.svg</file> <file>assets/img/icons/touch-id.svg</file>
<file>assets/img/icons/travel-and-places.svg</file> <file>assets/img/icons/travel-and-places.svg</file>
<file>assets/img/icons/tributeToTalk.svg</file> <file>assets/img/icons/tributeToTalk.svg</file>
<file>assets/img/icons/twitter.svg</file>
<file>assets/img/icons/unfavourite.svg</file> <file>assets/img/icons/unfavourite.svg</file>
<file>assets/img/icons/union.svg</file> <file>assets/img/icons/union.svg</file>
<file>assets/img/icons/unlock.svg</file> <file>assets/img/icons/unlock.svg</file>

View File

@ -1,3 +0,0 @@
<svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.99998 4.56275C9.00005 3.77295 9.27205 3.00726 9.77024 2.3944C10.2684 1.78155 10.9624 1.35891 11.7356 1.19754C12.5087 1.03616 13.3138 1.1459 14.0156 1.50829C14.7173 1.87069 15.2729 2.46364 15.5889 3.18747L18.625 3.1875L15.8524 5.96006C15.6719 8.74871 14.4368 11.3641 12.398 13.2753C10.3592 15.1864 7.66946 16.25 4.87498 16.25C2.12498 16.25 1.43748 15.2188 1.43748 15.2188C1.43748 15.2188 4.18748 14.1875 5.56248 12.125C5.56248 12.125 0.0624759 9.375 1.43748 1.8125C1.43748 1.8125 4.87498 5.25 8.99879 5.9375L8.99998 4.56275Z" stroke="#939BA1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 725 B

View File

@ -79,7 +79,7 @@ QtObject {
} }
function linkTypeToIcon(linkType) { function linkTypeToIcon(linkType) {
if (linkType === Constants.socialLinkType.twitter) return "twitter" if (linkType === Constants.socialLinkType.twitter) return "xtwitter"
if (linkType === Constants.socialLinkType.personalSite) return "language" if (linkType === Constants.socialLinkType.personalSite) return "language"
if (linkType === Constants.socialLinkType.github) return "github" if (linkType === Constants.socialLinkType.github) return "github"
if (linkType === Constants.socialLinkType.youtube) return "youtube" if (linkType === Constants.socialLinkType.youtube) return "youtube"