fix(ios): banner image management

This commit is contained in:
jahorton 2024-01-09 13:46:03 +07:00
parent f0c8ae9edd
commit 33ffad05ee

View file

@ -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) {