[BUG #2241] Fullscreen webview don't overlap topbar

This commit is contained in:
Oskar Thorén 2017-10-20 12:43:16 +02:00 committed by Roman Volosovskyi
parent 0273043265
commit eaa63c265e
1 changed files with 2 additions and 6 deletions

View File

@ -80,12 +80,8 @@
:reagent-render
(fn [{:keys [draggable? custom-header]} & elements]
@to-changed-height @changes-counter @max-height
(let [{expandable-offset :expandable-offset
status-bar-height :height} (get-in p/platform-specific [:component-styles :status-bar :main])
bottom (+ @input-height @chat-input-margin)
height (if @fullscreen?
(+ @max-height status-bar-height expandable-offset)
anim-value)]
(let [bottom (+ @input-height @chat-input-margin)
height (if @fullscreen? @max-height anim-value)]
[view style/overlap-container
(when (and (not hide-overlay?)
(not @fullscreen?))