From b45dd8ff47b3f0cf217ddfaa889056f9a5449b15 Mon Sep 17 00:00:00 2001 From: chenhui Date: Fri, 21 Apr 2023 21:48:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20live=E7=BB=84=E4=BB=B6=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mop.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mop.dart b/lib/mop.dart index 66c48f2..cc35183 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -328,6 +328,9 @@ class UIConfig { // 是否自适应暗黑模式。如果设置为true,则更多页面、关于等原生页面会随着手机切换暗黑,也自动调整为暗黑模式 bool autoAdaptDarkMode = false; + // 是否使用内置的live组件 + bool useNativeLiveComponent = false; + // 要拼接的userAgent字符串 String? appendingCustomUserAgent; @@ -386,6 +389,7 @@ class UIConfig { "moreMenuStyle": moreMenuStyle, "isHideBackHomePriority": isHideBackHomePriority.index, "autoAdaptDarkMode": autoAdaptDarkMode, + "useNativeLiveComponent": useNativeLiveComponent, "appendingCustomUserAgent": appendingCustomUserAgent, "transtionStyle": transtionStyle.index, "disableSlideCloseAppletGesture": disableSlideCloseAppletGesture,