From 3464400c9db02cacb82ca7879c6e17fc7d0e66bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 May 2021 01:04:03 +0000 Subject: [PATCH 1/3] Bump appcompat from 1.2.0 to 1.3.0 Bumps appcompat from 1.2.0 to 1.3.0. Signed-off-by: dependabot[bot] --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index eccdc7909..779003c7d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -177,7 +177,7 @@ configurations.all { dependencies { implementation fileTree(include: ['*'], dir: 'libs') - implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'com.github.vanniktech:Emoji:0.6.0' // 0.7.0 has display issue - don't update to 0.7.0 From 346c2cc60f6ed1e6eb1b37f34ae48b3e4d6d5f60 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 20 May 2021 13:05:35 +0200 Subject: [PATCH 2/3] replace android_tint with app:tint Signed-off-by: Andy Scherzinger --- .../main/res/layout/controller_entry_menu.xml | 2 +- app/src/main/res/layout/controller_profile.xml | 18 +++++++++--------- app/src/main/res/layout/view_message_input.xml | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/controller_entry_menu.xml b/app/src/main/res/layout/controller_entry_menu.xml index c1a75898e..7c7de3714 100644 --- a/app/src/main/res/layout/controller_entry_menu.xml +++ b/app/src/main/res/layout/controller_entry_menu.xml @@ -75,8 +75,8 @@ android:background="@color/transparent" android:contentDescription="@string/nc_add_emojis" android:src="@drawable/ic_insert_emoticon_black_24dp" - android:tint="@color/emoji_icons" android:visibility="gone" + app:tint="@color/emoji_icons" tools:visibility="visible" /> diff --git a/app/src/main/res/layout/controller_profile.xml b/app/src/main/res/layout/controller_profile.xml index 5eaf66036..093bed086 100644 --- a/app/src/main/res/layout/controller_profile.xml +++ b/app/src/main/res/layout/controller_profile.xml @@ -79,10 +79,10 @@ android:layout_height="30dp" android:layout_marginLeft="@dimen/standard_half_margin" android:layout_marginRight="@dimen/standard_half_margin" - android:tint="@color/black" - android:src="@drawable/upload" android:background="@drawable/round_corner" - android:contentDescription="@string/upload_new_avatar_from_device" /> + android:contentDescription="@string/upload_new_avatar_from_device" + android:src="@drawable/upload" + app:tint="@color/black" /> + android:contentDescription="@string/choose_avatar_from_cloud" + android:src="@drawable/ic_mimetype_folder" + app:tint="@color/colorPrimary" /> + android:contentDescription="@string/delete_avatar" + android:src="@drawable/trashbin" + app:tint="@color/black" /> diff --git a/app/src/main/res/layout/view_message_input.xml b/app/src/main/res/layout/view_message_input.xml index d64b1a2ad..5aef7d352 100644 --- a/app/src/main/res/layout/view_message_input.xml +++ b/app/src/main/res/layout/view_message_input.xml @@ -19,6 +19,7 @@ --> @@ -57,7 +58,7 @@ android:layout_toStartOf="@id/messageSendButton" android:background="@color/transparent" android:src="@drawable/ic_insert_emoticon_black_24dp" - android:tint="@color/emoji_icons" + app:tint="@color/emoji_icons" android:contentDescription="@string/nc_add_emojis" /> - From 72bb754e02b1b108b63f91ec58b7c77ca9cd06c9 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 20 May 2021 13:06:19 +0200 Subject: [PATCH 3/3] update lint score Signed-off-by: Andy Scherzinger --- scripts/analysis/lint-results.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/analysis/lint-results.txt b/scripts/analysis/lint-results.txt index 1ab9cdd11..246459982 100644 --- a/scripts/analysis/lint-results.txt +++ b/scripts/analysis/lint-results.txt @@ -1,2 +1,2 @@ DO NOT TOUCH; GENERATED BY DRONE - Lint Report: 3 errors and 338 warnings + Lint Report: 3 errors and 336 warnings