mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 06:18:34 +00:00
Prevent attachment download button re-animation.
This commit is contained in:
parent
afa2bb3bf5
commit
6de789dfe3
@ -205,6 +205,10 @@ public final class TransferControlView extends FrameLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void display(@Nullable final View view) {
|
private void display(@Nullable final View view) {
|
||||||
|
if (current == view) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (current != null) {
|
if (current != null) {
|
||||||
current.setVisibility(GONE);
|
current.setVisibility(GONE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user