mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 16:33:39 +00:00
update controls properly on orientation change
fixes #3697 closes #3732 // FREEBIE
This commit is contained in:
parent
e8712b3a29
commit
83919c087d
@ -105,12 +105,11 @@ public class QuickAttachmentDrawer extends ViewGroup {
|
||||
final boolean rotationChanged = this.rotation != rotation;
|
||||
this.rotation = rotation;
|
||||
if (rotationChanged) {
|
||||
Log.w(TAG, String.format("onNewOrientation(old %d, new %d)", this.rotation, rotation));
|
||||
if (isOpen()) {
|
||||
quickCamera.onPause();
|
||||
setDrawerStateAndAnimate(drawerState);
|
||||
}
|
||||
updateControlsView();
|
||||
setDrawerStateAndAnimate(drawerState);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user