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,