Skip to content

Commit

Permalink
makes chat inaccessible for the user
Browse files Browse the repository at this point in the history
  • Loading branch information
Dante291 committed Nov 8, 2023
1 parent 2d73c3b commit 5848e19
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions lib/view_model/main_screen_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'package:talawa/services/size_config.dart';
import 'package:talawa/utils/app_localization.dart';
import 'package:talawa/view_model/base_view_model.dart';
import 'package:talawa/views/after_auth_screens/add_post_page.dart';
import 'package:talawa/views/after_auth_screens/chat/chat_list_screen.dart';
// import 'package:talawa/views/after_auth_screens/chat/chat_list_screen.dart';
import 'package:talawa/views/after_auth_screens/events/explore_events.dart';
import 'package:talawa/views/after_auth_screens/feed/organization_feed.dart';
import 'package:talawa/views/after_auth_screens/profile/profile_page.dart';
Expand Down Expand Up @@ -239,13 +239,16 @@ class MainScreenViewModel extends BaseModel {
),
label: AppLocalizations.of(context)!.strictTranslate('Add'),
),
BottomNavigationBarItem(
icon: Icon(
Icons.chat_outlined,
key: keyBNChat,
),
label: AppLocalizations.of(context)!.strictTranslate('Chat'),
),

/// Makes chat inaccessible for the user
///
// BottomNavigationBarItem(
// icon: Icon(
// Icons.chat_outlined,
// key: keyBNChat,
// ),
// label: AppLocalizations.of(context)!.strictTranslate('Chat'),
// ),
BottomNavigationBarItem(
icon: Icon(
Icons.account_circle,
Expand All @@ -268,9 +271,9 @@ class MainScreenViewModel extends BaseModel {
key: const Key('AddPost'),
drawerKey: MainScreenViewModel.scaffoldKey,
),
const ChatPage(
key: Key('Chats'),
),
// const ChatPage(
// key: Key('Chats'),
// ),
ProfilePage(
key: keySPEditProfile,
homeModel: this,
Expand Down

0 comments on commit 5848e19

Please sign in to comment.