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 @@ - - + +