mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix send button disappearing for voice drafts.
This commit is contained in:
@@ -64,8 +64,10 @@ public class AnimatingToggle extends FrameLayout {
|
||||
public void displayQuick(@Nullable View view) {
|
||||
if (view == current && current.getVisibility() == View.VISIBLE) return;
|
||||
if (current != null) current.setVisibility(View.GONE);
|
||||
if (view != null) view.setVisibility(View.VISIBLE);
|
||||
|
||||
if (view != null) {
|
||||
view.setVisibility(View.VISIBLE);
|
||||
view.clearAnimation();
|
||||
}
|
||||
current = view;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user