0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

Update the material library dependency to 1.6.0

This commit is contained in:
lukstbit 2022-05-06 12:01:59 +03:00 committed by Mike Hardy
parent bbd6904f00
commit 66681aa71e
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.webkit:webkit:1.4.0'
// Note: the design support library can be quite buggy, so test everything thoroughly before updating it
implementation 'com.google.android.material:material:1.3.0'
implementation 'com.google.android.material:material:1.6.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
implementation 'com.github.CanHub:Android-Image-Cropper:3.1.3'

View File

@ -438,7 +438,7 @@ public class CardTemplateEditor extends AnkiActivity implements DeckSelectionDia
BottomNavigationView bottomNavigation = mainView.findViewById(R.id.card_template_editor_bottom_navigation);
bottomNavigation.setOnNavigationItemSelectedListener(item -> {
bottomNavigation.setOnItemSelectedListener(item -> {
int currentSelectedId = item.getItemId();
mTemplateEditor.mEditorViewId.put(position, currentSelectedId);
if (currentSelectedId == R.id.styling_edit) {