From f33b5692211b15ee31fbc85494fdbd898c91200f Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 18 Aug 2025 11:51:44 +0800 Subject: [PATCH] :bug: Fix realm detail --- lib/screens/realm/realm_detail.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/screens/realm/realm_detail.dart b/lib/screens/realm/realm_detail.dart index 2928b4f8..cf995bdd 100644 --- a/lib/screens/realm/realm_detail.dart +++ b/lib/screens/realm/realm_detail.dart @@ -142,7 +142,9 @@ class RealmDetailScreen extends HookConsumerWidget { error: (error, _) => Center(child: Text('Error: $error')), data: (rooms) { if (rooms.isEmpty) { - return const SliverToBoxAdapter(child: SizedBox.shrink()); + return Text( + 'dataEmpty', + ).tr().padding(horizontal: 24, bottom: 12); } return Column( children: [