release: v2.11.2

This commit is contained in:
redhoodsu
2023-01-28 18:46:20 +08:00
parent d4507ff3c7
commit 6e0a2a4471
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
## 2.11.2 (28 Jan 2023)
* fix: check safe area error
## 2.11.1 (28 Jan 2023) ## 2.11.1 (28 Jan 2023)
* fix: bottom safe area * fix: bottom safe area

View File

@@ -1,6 +1,6 @@
{ {
"name": "eruda", "name": "eruda",
"version": "2.11.1", "version": "2.11.2",
"description": "Console for Mobile Browsers", "description": "Console for Mobile Browsers",
"main": "eruda.js", "main": "eruda.js",
"browserslist": [ "browserslist": [

View File

@@ -13,6 +13,7 @@ import isDarkMode from 'licia/isDarkMode'
import extend from 'licia/extend' import extend from 'licia/extend'
import isStr from 'licia/isStr' import isStr from 'licia/isStr'
import startWith from 'licia/startWith' import startWith from 'licia/startWith'
import ready from 'licia/ready'
import evalCss from '../lib/evalCss' import evalCss from '../lib/evalCss'
import { isDarkTheme } from '../lib/themes' import { isDarkTheme } from '../lib/themes'
import LunaNotification from 'luna-notification' import LunaNotification from 'luna-notification'
@@ -54,7 +55,8 @@ export default class DevTools extends Emitter {
this._initTab() this._initTab()
this._initNotification() this._initNotification()
this._initModal() this._initModal()
this._checkSafeArea()
ready(() => this._checkSafeArea())
this._bindEvent() this._bindEvent()
} }
show() { show() {