From 1aa706dee537923a774ad6b3b511a20644bc8887 Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Fri, 30 Jul 2021 15:25:02 +0300 Subject: [PATCH] Lint fixes. --- tools/check/forbidden_strings_in_code.txt | 2 +- vector/src/main/res/drawable/ic_play_pause_play.xml | 1 - vector/src/main/res/layout/item_timeline_event_voice_stub.xml | 1 + vector/src/main/res/layout/view_voice_message_recorder.xml | 1 - vector/src/main/res/values/strings.xml | 2 +- 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/check/forbidden_strings_in_code.txt b/tools/check/forbidden_strings_in_code.txt index ba9dec0877..70eea6c26e 100644 --- a/tools/check/forbidden_strings_in_code.txt +++ b/tools/check/forbidden_strings_in_code.txt @@ -162,7 +162,7 @@ Formatter\.formatShortFileSize===1 # android\.text\.TextUtils ### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt -enum class===102 +enum class===103 ### Do not import temporary legacy classes import org.matrix.android.sdk.internal.legacy.riot===3 diff --git a/vector/src/main/res/drawable/ic_play_pause_play.xml b/vector/src/main/res/drawable/ic_play_pause_play.xml index f632fad8ed..84056219ec 100644 --- a/vector/src/main/res/drawable/ic_play_pause_play.xml +++ b/vector/src/main/res/drawable/ic_play_pause_play.xml @@ -1,7 +1,6 @@ diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 323f533425..cf88c1e101 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -3439,7 +3439,7 @@ Upgrade to the recommended room version Sorry, an error occurred while trying to join: %s - + Start Voice Message Slide to cancel Voice Message Lock