[mobile] Fix bug 51268

This commit is contained in:
JuliaSvinareva 2021-07-13 15:50:55 +03:00
parent 60f2c149e3
commit 5f2b4ad4a1

View file

@ -457,7 +457,11 @@ class ViewCommentsController extends Component {
});
}
closeViewCurComments () {
f7.sheet.close('#view-comment-sheet');
if (Device.phone) {
f7.sheet.close('#view-comment-sheet');
} else {
f7.popover.close('#view-comment-popover');
}
this.setState({isOpenViewCurComments: false});
}
onResolveComment (comment) {