mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-04 19:58:21 +00:00
Fix appearance of small audio view to show correct background color and the progress circle.
This commit is contained in:
parent
4ecfee292e
commit
4c301a49b4
@ -371,10 +371,11 @@ public final class AudioView extends FrameLayout {
|
||||
}
|
||||
|
||||
private void showPlayButton() {
|
||||
if (!smallView || seekBar.getProgress() == 0) {
|
||||
if (!smallView) {
|
||||
circleProgress.setVisibility(GONE);
|
||||
} else if (seekBar.getProgress() == 0) {
|
||||
circleProgress.setInstantProgress(1);
|
||||
}
|
||||
circleProgress.setVisibility(GONE);
|
||||
playPauseButton.setVisibility(VISIBLE);
|
||||
controlToggle.displayQuick(progressAndPlay);
|
||||
}
|
||||
|
@ -18,6 +18,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:autoRewind="true"
|
||||
app:progressAndPlayTint="@android:color/transparent"
|
||||
app:foregroundTintColor="@color/core_ultramarine"
|
||||
app:small="true" />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user