diff --git a/lib/pages/ChatListScreen.dart b/lib/pages/ChatListScreen.dart index 582ebc5..4f76f85 100644 --- a/lib/pages/ChatListScreen.dart +++ b/lib/pages/ChatListScreen.dart @@ -58,15 +58,15 @@ class _ChatListScreenState extends State { items: [ BottomNavigationBarItem( icon: Icon(Icons.message), - title: Text("Chats"), + label: "Chats" ), BottomNavigationBarItem( icon: Icon(Icons.group_work), - title: Text("Available"), + label: "Available" ), BottomNavigationBarItem( icon: Icon(Icons.account_box), - title: Text("Profile"), + label: "Profile" ), ], ), diff --git a/lib/pages/DeviceListScreen.dart b/lib/pages/DeviceListScreen.dart index db8c3c0..8c5c430 100644 --- a/lib/pages/DeviceListScreen.dart +++ b/lib/pages/DeviceListScreen.dart @@ -91,15 +91,15 @@ class _DevicesListScreenState extends State { items: [ BottomNavigationBarItem( icon: Icon(Icons.message), - title: Text("Chats"), + label: "Chats" ), BottomNavigationBarItem( icon: Icon(Icons.group_work), - title: Text("Available"), + label: "Available" ), BottomNavigationBarItem( icon: Icon(Icons.account_box), - title: Text("Profile"), + label: "Profile" ), ], currentIndex: _selectedIndex,