fix: live组件默认值支持
parent
31a1ee489c
commit
b45dd8ff47
|
@ -328,6 +328,9 @@ class UIConfig {
|
||||||
// 是否自适应暗黑模式。如果设置为true,则更多页面、关于等原生页面会随着手机切换暗黑,也自动调整为暗黑模式
|
// 是否自适应暗黑模式。如果设置为true,则更多页面、关于等原生页面会随着手机切换暗黑,也自动调整为暗黑模式
|
||||||
bool autoAdaptDarkMode = false;
|
bool autoAdaptDarkMode = false;
|
||||||
|
|
||||||
|
// 是否使用内置的live组件
|
||||||
|
bool useNativeLiveComponent = false;
|
||||||
|
|
||||||
// 要拼接的userAgent字符串
|
// 要拼接的userAgent字符串
|
||||||
String? appendingCustomUserAgent;
|
String? appendingCustomUserAgent;
|
||||||
|
|
||||||
|
@ -386,6 +389,7 @@ class UIConfig {
|
||||||
"moreMenuStyle": moreMenuStyle,
|
"moreMenuStyle": moreMenuStyle,
|
||||||
"isHideBackHomePriority": isHideBackHomePriority.index,
|
"isHideBackHomePriority": isHideBackHomePriority.index,
|
||||||
"autoAdaptDarkMode": autoAdaptDarkMode,
|
"autoAdaptDarkMode": autoAdaptDarkMode,
|
||||||
|
"useNativeLiveComponent": useNativeLiveComponent,
|
||||||
"appendingCustomUserAgent": appendingCustomUserAgent,
|
"appendingCustomUserAgent": appendingCustomUserAgent,
|
||||||
"transtionStyle": transtionStyle.index,
|
"transtionStyle": transtionStyle.index,
|
||||||
"disableSlideCloseAppletGesture": disableSlideCloseAppletGesture,
|
"disableSlideCloseAppletGesture": disableSlideCloseAppletGesture,
|
||||||
|
|
Loading…
Reference in New Issue