Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fun SharePublicLinkMenuOption(onShareAsset: () -> Unit) {
MenuBottomSheetItem(
leading = {
MenuItemIcon(
id = com.wire.android.ui.common.R.drawable.ic_link,
id = com.wire.android.ui.common.R.drawable.ic_link_indicator,
contentDescription = stringResource(R.string.content_description_share_the_file),
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ private fun PublicLinkIcon(
color = colorsScheme().outline,
shape = CircleShape
)
.padding(dimensions().spacing2x),
painter = painterResource(R.drawable.ic_link),
.padding(dimensions().spacing4x),
painter = painterResource(commonR.drawable.ic_link_indicator),
contentDescription = null,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enum class NodeBottomSheetAction(
val isHighlighted: Boolean = false
) {
SHARE(R.string.share_label, R.drawable.ic_share),
PUBLIC_LINK(R.string.public_link, com.wire.android.ui.common.R.drawable.ic_link),
PUBLIC_LINK(R.string.public_link, R.drawable.ic_link),
ADD_REMOVE_TAGS(R.string.add_remove_tags_label, R.drawable.ic_tags),
MOVE(R.string.move_label, R.drawable.ic_folder),
RENAME(R.string.rename_label, R.drawable.ic_rename),
Expand Down
47 changes: 26 additions & 21 deletions features/cells/src/main/res/drawable/ic_link.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
<!--
~ Wire
~ Copyright (C) 2025 Wire Swiss GmbH
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see http://www.gnu.org/licenses/.
-->
<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">

<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"/>

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="16dp"
android:viewportWidth="16"
android:viewportHeight="16">
<path
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"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#000000"
android:strokeLineCap="round"/>
<path
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"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#000000"
android:strokeLineCap="round"/>
<path
android:pathData="M5.5,8H10.5"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#000000"
android:strokeLineCap="round"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private fun MeetingOptionsModalContent(
title = stringResource(R.string.meeting_options_copy_link),
leading = {
Icon(
painter = painterResource(UICommonR.drawable.ic_link),
painter = painterResource(UICommonR.drawable.ic_link_indicator),
contentDescription = stringResource(R.string.content_description_copy_link),
tint = colorsScheme().onSurface,
)
Expand Down