Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull committed Oct 29, 2024
1 parent 4aef762 commit 013e03b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/status_im/contexts/onboarding/common/background/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
;; https://github.com/status-im/status-mobile/issues/14633
;; 4. In the case of devices without a notch, both heights should be the same,
;; but actual values differ in some pixels, so arbitrary 5 pixels is allowed
(print "--------------- parvesh --- on-layout"
"Width: height " (rn/get-window)
"Screen: " (rn/get-screen)
"State height" height)

(when (and (> height width)
(>= (+ height 5) (or window-height 0))
(not= height @shell.state/screen-height))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
:height (utils/bottom-tabs-container-height)
:position :absolute
:bottom 0
:right 0
:left 0
:right 100
:left 100
:border-width 2
:border-color :red
:overflow :hidden
:accessibility-label :bottom-tabs-container}])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
:overflow :hidden
:position :absolute
:width width
:border-width 2
:border-color :green
:height (- height (utils/bottom-tabs-container-height))}))

(defn stack-view
Expand Down
5 changes: 5 additions & 0 deletions src/status_im/contexts/shell/jump_to/utils.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
(defn dimensions
[]
(let [{:keys [width height]} (rn/get-window)]
(print "--------------- parvesh ---"
"Width: height " (rn/get-window)
"Screen: " (rn/get-screen)
"State height" @state/screen-height
"status bar offset" (safe-area/get-top))
{:width width
:height (or @state/screen-height
(if (> (status-bar-offset) 28)
Expand Down
2 changes: 1 addition & 1 deletion src/status_im/contexts/shell/jump_to/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
[:<>
(when (ff/enabled? ::ff/shell.jump-to)
[jump-to-screen/view])
[:f> bottom-tabs/f-bottom-tabs]
[:f> home-stack/f-home-stack]
[:f> bottom-tabs/f-bottom-tabs]
(when (ff/enabled? ::ff/shell.jump-to)
[:<>
[floating-button shared-values]
Expand Down

0 comments on commit 013e03b

Please sign in to comment.