Skip to content

Commit 9fcc0b1

Browse files
authored
fix: Share icon too small in menu (WPB-22326) (#4482)
1 parent 54275c2 commit 9fcc0b1

File tree

6 files changed

+31
-26
lines changed

6 files changed

+31
-26
lines changed

app/src/main/kotlin/com/wire/android/ui/edit/ShareAssetMenuOption.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fun SharePublicLinkMenuOption(onShareAsset: () -> Unit) {
4242
MenuBottomSheetItem(
4343
leading = {
4444
MenuItemIcon(
45-
id = com.wire.android.ui.common.R.drawable.ic_link,
45+
id = com.wire.android.ui.common.R.drawable.ic_link_indicator,
4646
contentDescription = stringResource(R.string.content_description_share_the_file),
4747
)
4848
},
File renamed without changes.

features/cells/src/main/java/com/wire/android/feature/cells/ui/CellListItem.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ private fun PublicLinkIcon(
246246
color = colorsScheme().outline,
247247
shape = CircleShape
248248
)
249-
.padding(dimensions().spacing2x),
250-
painter = painterResource(R.drawable.ic_link),
249+
.padding(dimensions().spacing4x),
250+
painter = painterResource(commonR.drawable.ic_link_indicator),
251251
contentDescription = null,
252252
)
253253
}

features/cells/src/main/java/com/wire/android/feature/cells/ui/model/NodeBottomSheetAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ enum class NodeBottomSheetAction(
2525
val isHighlighted: Boolean = false
2626
) {
2727
SHARE(R.string.share_label, R.drawable.ic_share),
28-
PUBLIC_LINK(R.string.public_link, com.wire.android.ui.common.R.drawable.ic_link),
28+
PUBLIC_LINK(R.string.public_link, R.drawable.ic_link),
2929
ADD_REMOVE_TAGS(R.string.add_remove_tags_label, R.drawable.ic_tags),
3030
MOVE(R.string.move_label, R.drawable.ic_folder),
3131
RENAME(R.string.rename_label, R.drawable.ic_rename),
Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
<!--
2-
~ Wire
3-
~ Copyright (C) 2025 Wire Swiss GmbH
4-
~
5-
~ This program is free software: you can redistribute it and/or modify
6-
~ it under the terms of the GNU General Public License as published by
7-
~ the Free Software Foundation, either version 3 of the License, or
8-
~ (at your option) any later version.
9-
~
10-
~ This program is distributed in the hope that it will be useful,
11-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
~ GNU General Public License for more details.
14-
~
15-
~ You should have received a copy of the GNU General Public License
16-
~ along with this program. If not, see http://www.gnu.org/licenses/.
17-
-->
18-
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
19-
20-
<path android:fillColor="@android:color/white" android:pathData="M3.9,12c0,-1.71 1.39,-3.1 3.1,-3.1h4L11,7L7,7c-2.76,0 -5,2.24 -5,5s2.24,5 5,5h4v-1.9L7,15.1c-1.71,0 -3.1,-1.39 -3.1,-3.1zM8,13h8v-2L8,11v2zM17,7h-4v1.9h4c1.71,0 3.1,1.39 3.1,3.1s-1.39,3.1 -3.1,3.1h-4L13,17h4c2.76,0 5,-2.24 5,-5s-2.24,-5 -5,-5z"/>
21-
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="16dp"
3+
android:height="16dp"
4+
android:viewportWidth="16"
5+
android:viewportHeight="16">
6+
<path
7+
android:pathData="M6.001,11.333H4.667C3.783,11.333 2.935,10.982 2.31,10.357C1.685,9.732 1.334,8.884 1.334,8C1.334,7.116 1.685,6.268 2.31,5.643C2.935,5.018 3.783,4.667 4.667,4.667H6.001"
8+
android:strokeLineJoin="round"
9+
android:strokeWidth="2"
10+
android:fillColor="#00000000"
11+
android:strokeColor="#000000"
12+
android:strokeLineCap="round"/>
13+
<path
14+
android:pathData="M10,4.667H11.333C12.217,4.667 13.065,5.018 13.69,5.643C14.316,6.268 14.667,7.116 14.667,8C14.667,8.884 14.316,9.732 13.69,10.357C13.065,10.982 12.217,11.333 11.333,11.333H10"
15+
android:strokeLineJoin="round"
16+
android:strokeWidth="2"
17+
android:fillColor="#00000000"
18+
android:strokeColor="#000000"
19+
android:strokeLineCap="round"/>
20+
<path
21+
android:pathData="M5.5,8H10.5"
22+
android:strokeLineJoin="round"
23+
android:strokeWidth="2"
24+
android:fillColor="#00000000"
25+
android:strokeColor="#000000"
26+
android:strokeLineCap="round"/>
2227
</vector>

features/meetings/src/main/java/com/wire/android/feature/meetings/ui/options/MeetingOptionsModalSheetLayout.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private fun MeetingOptionsModalContent(
122122
title = stringResource(R.string.meeting_options_copy_link),
123123
leading = {
124124
Icon(
125-
painter = painterResource(UICommonR.drawable.ic_link),
125+
painter = painterResource(UICommonR.drawable.ic_link_indicator),
126126
contentDescription = stringResource(R.string.content_description_copy_link),
127127
tint = colorsScheme().onSurface,
128128
)

0 commit comments

Comments
 (0)