From b1b54142766ec3fcd16b1e5bbd52ece57334e732 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 7 Dec 2021 11:19:20 +0100 Subject: [PATCH] updating some libraries --- app/build.gradle | 6 +++--- .../voicerecorder/adapters/RecordingsAdapter.kt | 3 +-- .../voicerecorder/fragments/PlayerFragment.kt | 2 +- app/src/main/res/drawable/ic_headset_vector.xml | 10 ++-------- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 774625c..4ee0105 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -56,10 +56,10 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:3bbf37c7f9' + implementation 'com.github.SimpleMobileTools:Simple-Commons:ea74adfbfd' implementation 'org.greenrobot:eventbus:3.2.0' - implementation 'com.github.Armen101:AudioRecordView:1.0.2' + implementation 'com.github.Armen101:AudioRecordView:1.0.4' implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.2' } diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/adapters/RecordingsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/adapters/RecordingsAdapter.kt index b5edc55..9fe26a6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/adapters/RecordingsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/adapters/RecordingsAdapter.kt @@ -31,7 +31,7 @@ class RecordingsAdapter( recyclerView: MyRecyclerView, itemClick: (Any) -> Unit ) : - MyRecyclerViewAdapter(activity, recyclerView, null, itemClick), RecyclerViewFastScroller.OnPopupTextUpdate { + MyRecyclerViewAdapter(activity, recyclerView, itemClick), RecyclerViewFastScroller.OnPopupTextUpdate { var currRecordingId = 0 @@ -93,7 +93,6 @@ class RecordingsAdapter( notifyDataSetChanged() finishActMode() } - fastScroller?.measureRecyclerView() } private fun renameRecording() { diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/fragments/PlayerFragment.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/fragments/PlayerFragment.kt index 62c7877..02f5bc5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/fragments/PlayerFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/fragments/PlayerFragment.kt @@ -394,7 +394,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager private fun setupColors() { val adjustedPrimaryColor = context.getAdjustedPrimaryColor() - recordings_fastscroller.updateColors(adjustedPrimaryColor, adjustedPrimaryColor.getContrastColor()) + recordings_fastscroller.updateColors(adjustedPrimaryColor) context.updateTextColors(player_holder) val textColor = context.config.textColor diff --git a/app/src/main/res/drawable/ic_headset_vector.xml b/app/src/main/res/drawable/ic_headset_vector.xml index ceb1d31..f1114ec 100644 --- a/app/src/main/res/drawable/ic_headset_vector.xml +++ b/app/src/main/res/drawable/ic_headset_vector.xml @@ -1,9 +1,3 @@ - - + +