fix: live组件默认值支持

master
chenhui 2023-04-21 21:48:53 +08:00
parent 31a1ee489c
commit b45dd8ff47
1 changed files with 4 additions and 0 deletions

View File

@ -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,