We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b10b2 commit 06b8970Copy full SHA for 06b8970
src/core/components/app/app-class.js
@@ -291,11 +291,10 @@ class Framework7 extends Framework7Class {
291
$('html').removeClass('ios md').addClass(app.theme);
292
293
// iOS Translucent
294
- const device = app.device;
295
- if (app.params.iosTranslucentBars && app.theme === 'ios' && device.ios) {
+ if (app.params.iosTranslucentBars && app.theme === 'ios') {
296
$('html').addClass('ios-translucent-bars');
297
}
298
- if (app.params.iosTranslucentModals && app.theme === 'ios' && device.ios) {
+ if (app.params.iosTranslucentModals && app.theme === 'ios') {
299
$('html').addClass('ios-translucent-modals');
300
301
0 commit comments