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