File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 11< ion-header >
2- < ion-toolbar color ="whatsapp ">
2+ < ion-toolbar *ngIf ="searching " color ="whatsapp ">
3+ < ion-searchbar
4+ autofocus
5+ class ="seach-bar "
6+ color ="whatsapp "
7+ [showCancelButton] ="true "
8+ (ionInput) ="updateSubscription($event.target.value); searching = true; "
9+ (ionClear) ="updateSubscription(undefined); searching = false; ">
10+ </ ion-searchbar >
11+ </ ion-toolbar >
12+
13+ < ion-toolbar *ngIf ="!searching " color ="whatsapp ">
314 < ion-title > New Chat</ ion-title >
415
516 < ion-buttons left >
617 < button ion-button class ="dismiss-button " (click) ="viewCtrl.dismiss() "> < ion-icon name ="close "> </ ion-icon > </ button >
718 </ ion-buttons >
819
920 < ion-buttons end >
10- < button ion-button class ="search-button "> < ion-icon name ="search "> </ ion-icon > </ button >
21+ < button ion-button class ="search-button " (click) =" searching = true " > < ion-icon name ="search "> </ ion-icon > </ button >
1122 </ ion-buttons >
1223 </ ion-toolbar >
1324</ ion-header >
You can’t perform that action at this time.
0 commit comments