Deploy: 2026-05-25 00:29:42

This commit is contained in:
Hamza-Ayed
2026-05-25 00:29:42 +03:00
parent b20f457eaf
commit 7359206eb3
14 changed files with 1126 additions and 213 deletions

View File

@@ -10,7 +10,7 @@ import '../widgets/chatbot_view.dart';
import '../widgets/contacts_view.dart';
import '../widgets/simple_placeholder_view.dart';
import '../widgets/super_admin_view.dart';
import '../widgets/whatsapp_view.dart';
import '../widgets/channels_view.dart';
class DashboardScreen extends StatelessWidget {
final UserModel user;
@@ -99,10 +99,10 @@ class DashboardScreen extends StatelessWidget {
),
_buildDrawerItem(
context,
'📱 اتصال الواتساب',
'📱 قنوات الاتصال',
DashboardTab.whatsapp,
state.activeTab,
Icons.phone_android,
Icons.contact_mail_outlined,
),
_buildDrawerItem(
context,
@@ -228,7 +228,7 @@ class DashboardScreen extends StatelessWidget {
case DashboardTab.superAdmin:
return 'المشرف العام - نبيه';
case DashboardTab.whatsapp:
return 'اتصال الواتساب';
return 'قنوات الاتصال';
case DashboardTab.billing:
return 'الباقات والاشتراكات';
case DashboardTab.contacts:
@@ -251,8 +251,9 @@ class DashboardScreen extends StatelessWidget {
case DashboardTab.superAdmin:
return SuperAdminView(stats: state.superAdminStats);
case DashboardTab.whatsapp:
return WhatsAppView(
status: state.whatsappStatus,
return ChannelsView(
whatsappStatus: state.whatsappStatus,
metaSessions: state.metaSessions,
onRefresh: () => context.read<DashboardCubit>().refreshCurrentTab(),
);
case DashboardTab.billing: