Skip to content

Commit 280287b

Browse files
committed
Change CompoundIcons.Error to CompoundIcons.ErrorSolid
1 parent 420b613 commit 280287b

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

features/login/impl/src/main/kotlin/io/element/android/features/login/impl/screens/qrcode/scan/QrCodeScanView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private fun ColumnScope.Buttons(
136136
verticalAlignment = Alignment.CenterVertically,
137137
) {
138138
Icon(
139-
imageVector = CompoundIcons.Error(),
139+
imageVector = CompoundIcons.ErrorSolid(),
140140
tint = ElementTheme.colors.iconCriticalPrimary,
141141
contentDescription = null,
142142
modifier = Modifier.size(24.dp)

features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ private fun VerifiedUserSendFailureView(
391391
modifier = modifier
392392
.clickable(onClick = onClick)
393393
.padding(horizontal = 16.dp, vertical = 8.dp),
394-
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Error())),
394+
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.ErrorSolid())),
395395
trailingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.ChevronRight())),
396396
headlineContent = {
397397
Text(

features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineEventTimestampView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fun TimelineEventTimestampView(
6868
val isVerifiedUserSendFailure = event.localSendState is LocalEventSendState.Failed.VerifiedUser
6969
Spacer(modifier = Modifier.width(2.dp))
7070
Icon(
71-
imageVector = CompoundIcons.Error(),
71+
imageVector = CompoundIcons.ErrorSolid(),
7272
contentDescription = stringResource(id = CommonStrings.common_sending_failed),
7373
tint = tint,
7474
modifier = Modifier

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/atomic/atoms/MatrixBadgeAtom.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ internal fun MatrixBadgeAtomNegativePreview() = ElementPreview {
9393
MatrixBadgeAtom.View(
9494
MatrixBadgeAtom.MatrixBadgeData(
9595
text = "Not trusted",
96-
icon = CompoundIcons.Error(),
96+
icon = CompoundIcons.ErrorSolid(),
9797
type = MatrixBadgeAtom.Type.Negative,
9898
)
9999
)

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components/Announcement.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private fun InformativeAnnouncement(
118118
AnnouncementSurface(modifier = modifier) {
119119
Row {
120120
Icon(
121-
imageVector = if (isError) CompoundIcons.Error() else CompoundIcons.Info(),
121+
imageVector = if (isError) CompoundIcons.ErrorSolid() else CompoundIcons.Info(),
122122
tint = if (isError) ElementTheme.colors.iconCriticalPrimary else ElementTheme.colors.iconPrimary,
123123
contentDescription = null,
124124
)

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components/BigIcon.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ object BigIcon {
105105
val icon = when (style) {
106106
is Style.Default -> style.vectorIcon
107107
Style.Alert,
108-
Style.AlertSolid -> CompoundIcons.Error()
108+
Style.AlertSolid -> CompoundIcons.ErrorSolid()
109109
Style.Success,
110110
Style.SuccessSolid -> CompoundIcons.CheckCircleSolid()
111111
}

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/theme/components/TextField.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ private fun SupportingTextLayout(validity: TextFieldValidity?, supportingText: S
259259
when (validity) {
260260
TextFieldValidity.Invalid -> {
261261
Icon(
262-
imageVector = CompoundIcons.Error(),
262+
imageVector = CompoundIcons.ErrorSolid(),
263263
contentDescription = null,
264264
modifier = Modifier.size(16.dp),
265265
tint = ElementTheme.colors.iconCriticalPrimary

libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/UnresolvedUserRow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fun UnresolvedUserRow(
6868
.padding(top = 3.dp)
6969
) {
7070
Icon(
71-
imageVector = CompoundIcons.Error(),
71+
imageVector = CompoundIcons.ErrorSolid(),
7272
contentDescription = null,
7373
modifier = Modifier
7474
.size(18.dp)

libraries/troubleshoot/impl/src/main/kotlin/io/element/android/libraries/troubleshoot/impl/TroubleshootNotificationsView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private fun ColumnScope.TroubleshootTestView(
9898
Icon(
9999
contentDescription = null,
100100
modifier = Modifier.size(24.dp),
101-
imageVector = CompoundIcons.Error(),
101+
imageVector = CompoundIcons.ErrorSolid(),
102102
tint = ElementTheme.colors.textCriticalPrimary
103103
)
104104
}

0 commit comments

Comments
 (0)