Skip to content

Commit

Permalink
Merge pull request #10337 from keymanapp/fix/ios/banner-image-timing
Browse files Browse the repository at this point in the history
fix(ios): banner image management
  • Loading branch information
jahorton authored Jan 18, 2024
2 parents 68f9200 + 33ffad0 commit f6e87ef
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ function showBanner(flag) {

function setBannerImage(path) {
bannerImgPath = path;

var bc = keyman && keyman.osk && keyman.osk.bannerController;
if(!bc) {
return;
}

// If an inactive banner is set, update its image.
bc.inactiveBanner = bc.inactiveBanner ? new bc.ImageBanner(bannerImgPath) : null;
}

function setBannerHeight(h) {
Expand Down

0 comments on commit f6e87ef

Please sign in to comment.