update
This commit is contained in:
@@ -27,7 +27,10 @@ class HomePage extends StatelessWidget {
|
||||
child: GetX<TimConversationService>(
|
||||
builder: (_) {
|
||||
return _.conversationList.isEmpty
|
||||
? CustomEasyRefresh.empty(text: '')
|
||||
? ConstrainedBox(
|
||||
constraints: BoxConstraints(minHeight: Get.height / 2),
|
||||
child: CustomEasyRefresh.empty(text: '暂无消息'),
|
||||
)
|
||||
: ListView.separated(
|
||||
shrinkWrap: true,
|
||||
physics: const ClampingScrollPhysics(),
|
||||
@@ -68,7 +71,7 @@ class HomePage extends StatelessWidget {
|
||||
Get.toNamed(ContactRoutes.groupCreate);
|
||||
break;
|
||||
case 'C':
|
||||
Get.toNamed(ContactRoutes.friendSearch);
|
||||
Get.toNamed(ContactRoutes.friendRequest);
|
||||
break;
|
||||
case 'D':
|
||||
Permission.camera.request().isGranted.then((value) {
|
||||
|
||||
Reference in New Issue
Block a user