From: fuyu <54523771+mfmfuyu@users.noreply.github.com> Date: Mon, 3 Feb 2020 11:26:00 +0000 (+0900) Subject: [Glitch] Don't display toggle reveal button in video modal when full screen X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=b9aa57d5bfd53eb73ff4bb5e1beb91ee181345eb;p=mastodon.git [Glitch] Don't display toggle reveal button in video modal when full screen Port 5711899c59147252a01e21371994ca6a60418628 to glitch-soc Signed-off-by: Thibaut Girka --- diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 049baaee7..1b5fbce9f 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -512,7 +512,7 @@ class Video extends React.PureComponent {
- {(!onCloseVideo && !editable) && } + {(!onCloseVideo && !editable && !fullscreen) && } {(!fullscreen && onOpenVideo) && } {onCloseVideo && }