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