|
|
|
|
@ -128,7 +128,7 @@ class ChatHomeScreen extends StatelessWidget {
|
|
|
|
|
child: IconButton(
|
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
icon: Icon(m.searchedChats![index].isFav! ? Icons.star : Icons.star_border),
|
|
|
|
|
icon: Icon(m.searchedChats![index].isFav! ? Icons.star_sharp : Icons.star_border),
|
|
|
|
|
color: m.searchedChats![index].isFav! ? MyColors.yellowColor : MyColors.grey35Color,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
if (m.searchedChats![index].isFav!) m.unFavoriteUser(userID: AppState().chatDetails!.response!.id!, targetUserID: m.searchedChats![index].id!);
|
|
|
|
|
|