diff --git a/lib/new_ui/screens/main_screen/main_screen.dart b/lib/new_ui/screens/main_screen/main_screen.dart index 8144fc2..2b2739b 100644 --- a/lib/new_ui/screens/main_screen/main_screen.dart +++ b/lib/new_ui/screens/main_screen/main_screen.dart @@ -380,7 +380,15 @@ class _MainScreenState extends ConsumerState { height: 45, ), ), - (SharedPreferencesForDot.getNoOfNewNotification() - SharedPreferencesForDot.getNoOfNotification() != 0) ? Positioned(right: 0,top: 0,child: Container(alignment: Alignment.center,padding: EdgeInsets.all(6),decoration: BoxDecoration(color: Colors.red,shape: BoxShape.circle),child: Text("${SharedPreferencesForDot.getNoOfNewNotification() - SharedPreferencesForDot.getNoOfNotification()}",style: TextStyle(color: Colors.white,fontSize: 12),),),) : SizedBox(), + (SharedPreferencesForDot.getNoOfNewNotification() - SharedPreferencesForDot.getNoOfNotification() != 0) ? + Positioned(right: 0,top: 0, + child: Container( + height: 17, + width: 17, + alignment: Alignment.center, + decoration: BoxDecoration(color: oldDateSelectBlue,shape: BoxShape.circle) + ,child: Text("${SharedPreferencesForDot.getNoOfNewNotification() - SharedPreferencesForDot.getNoOfNotification()}",style: TextStyle(color: Colors.white,fontSize: 9),) + ,),) : SizedBox(), ], ), ), diff --git a/lib/new_ui/screens/main_screen/widgets/main_bottom_nav_bar.dart b/lib/new_ui/screens/main_screen/widgets/main_bottom_nav_bar.dart index fb2c968..3b0ccf1 100644 --- a/lib/new_ui/screens/main_screen/widgets/main_bottom_nav_bar.dart +++ b/lib/new_ui/screens/main_screen/widgets/main_bottom_nav_bar.dart @@ -117,7 +117,7 @@ class _HomeScreenState extends ConsumerState { icon: Stack( children: [ Icon(Icons.directions_railway_outlined), - SharedPreferencesForDot.getRailwayDot() ? Positioned(right: 0,top: 0,child: Icon(Icons.circle,color: Colors.red,size: 10,),) : SizedBox(), + SharedPreferencesForDot.getRailwayDot() ? Positioned(right: 0,top: 0,child: Icon(Icons.circle,color: oldDateSelectBlue,size: 10,),) : SizedBox(), ], ), activeIcon: Icon(Icons.directions_railway_filled),