mobile: apply root's (or themes) background color the the browser's topbar when possible

This commit is contained in:
jean-emmanuel 2024-10-04 15:41:38 +02:00
parent 4451cffd36
commit f891442e28
9 changed files with 73 additions and 35 deletions

View file

@ -9,7 +9,8 @@ var utils = require('../ui/utils'),
uiLoading = require('../ui/ui-loading'),
notifications = require('../ui/notifications'),
raw = require('nanohtml/raw'),
backup = require('../backup')
backup = require('../backup'),
{updateMobileThemeColor} = require('../ui/utils')
module.exports = {
@ -119,6 +120,7 @@ module.exports = {
editor.toggleGrid()
})
})
updateMobileThemeColor()
}
}