Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #2392: Apply theme at app launch. (#2394)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhreis authored Mar 5, 2020
1 parent 8cef0e1 commit dee4ed6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/Frontend/Browser/BrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ class BrowserViewController: UIViewController {
setupConstraints()

updateRewardsButtonState()

applyTheme(Theme.of(tabManager.selectedTab))

// Setup UIDropInteraction to handle dragging and dropping
// links into the view from other apps.
Expand Down Expand Up @@ -3205,6 +3207,7 @@ extension BrowserViewController: Themeable {

theme.applyAppearanceProperties()

view.backgroundColor = theme.colors.home
statusBarOverlay.backgroundColor = topToolbar.backgroundColor
setNeedsStatusBarAppearanceUpdate()
}
Expand Down

0 comments on commit dee4ed6

Please sign in to comment.