fix when there is data and you are serching
This commit is contained in:
parent
9eee91bdb1
commit
4c0c762101
4 changed files with 49 additions and 112 deletions
|
|
@ -64,6 +64,7 @@ class _MihCardFavouritesState extends State<MihCardFavourites> {
|
|||
navIndex: 0,
|
||||
bannerAd: _bannerAd,
|
||||
favouritesMode: true,
|
||||
searchText: TextEditingController(),
|
||||
onCardViewClose: () {
|
||||
setState(() {
|
||||
_bannerAd = MihBannerAd();
|
||||
|
|
|
|||
|
|
@ -373,6 +373,7 @@ class _MihCardsState extends State<MihCards> {
|
|||
navIndex: 0,
|
||||
bannerAd: _bannerAd,
|
||||
favouritesMode: false,
|
||||
searchText: cardSearchController,
|
||||
onCardViewClose: () {
|
||||
setState(() {
|
||||
_bannerAd = MihBannerAd();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue