feat:新增直播组件相关配置
parent
ec2d6aa029
commit
9a14315e2a
|
@ -90,6 +90,9 @@ class UIConfig {
|
||||||
//注入小程序统称appletText字符串,默认为“小程序”。
|
//注入小程序统称appletText字符串,默认为“小程序”。
|
||||||
String? appletText;
|
String? appletText;
|
||||||
|
|
||||||
|
///是否使用我们内部实现的live组件(直播组件)
|
||||||
|
bool useNativeLiveComponent = false;
|
||||||
|
|
||||||
Map<String, dynamic> toMap() {
|
Map<String, dynamic> toMap() {
|
||||||
return {
|
return {
|
||||||
"navigationTitleTextAttributes": navigationTitleTextAttributes,
|
"navigationTitleTextAttributes": navigationTitleTextAttributes,
|
||||||
|
@ -106,6 +109,7 @@ class UIConfig {
|
||||||
"floatWindowConfig": floatWindowConfig?.toMap(),
|
"floatWindowConfig": floatWindowConfig?.toMap(),
|
||||||
"progressBarColor": progressBarColor,
|
"progressBarColor": progressBarColor,
|
||||||
"autoAdaptDarkMode": autoAdaptDarkMode,
|
"autoAdaptDarkMode": autoAdaptDarkMode,
|
||||||
|
"useNativeLiveComponent": useNativeLiveComponent,
|
||||||
"appletText": appletText
|
"appletText": appletText
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue