🐛 Optimize content render

This commit is contained in:
2024-10-19 00:32:16 +08:00
parent 5853de32a2
commit ac1b3fe15c
8 changed files with 188 additions and 177 deletions

View File

@@ -348,7 +348,7 @@ class _AccountProfilePageState extends State<AccountProfilePage> {
detail: _userinfo,
profile: _userinfo!.profile,
extraWidgets: [
if (_dailySignRecords.isNotEmpty)
if (_dailySignRecords.length > 1)
Card(
child: SizedBox(
height: 180,

View File

@@ -198,7 +198,7 @@ class _CallScreenState extends State<CallScreen> with TickerProviderStateMixin {
Widget build(BuildContext context) {
final ChatCallProvider ctrl = Get.find();
return RootContainer(
return ResponsiveRootContainer(
child: Scaffold(
appBar: widget.hideAppBar
? null