|
|
@@ -71,11 +71,14 @@ class CharacterController extends BaseController
|
|
|
void _dataLoad() async {
|
|
|
AtmobLog.d(tag, "_dataLoad");
|
|
|
|
|
|
- tabController.value = TabController(
|
|
|
- length: characterGroupList.length,
|
|
|
- vsync: this,
|
|
|
- initialIndex: 0,
|
|
|
- );
|
|
|
+ if( characterGroupList.isNotEmpty){
|
|
|
+ tabController.value = TabController(
|
|
|
+ length: characterGroupList.length,
|
|
|
+ vsync: this,
|
|
|
+ initialIndex: 0,
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
ever(keyboardInfoList, (value) {
|
|
|
AtmobLog.d(tag, "keyboardInfoList1 changed ${keyboardInfoList.length}");
|