From 577318be15d606039c9959d0100693c0addcabd0 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 11 Jun 2019 11:31:22 -0400 Subject: [PATCH] Small styling fix --- core/src/components/searchbar/searchbar.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/core/src/components/searchbar/searchbar.tsx b/core/src/components/searchbar/searchbar.tsx index f6d9ec4183..29fcfc3161 100644 --- a/core/src/components/searchbar/searchbar.tsx +++ b/core/src/components/searchbar/searchbar.tsx @@ -399,10 +399,12 @@ export class Searchbar implements ComponentInterface { * options are removed. */ private isCancelButtonSetToFocus(): boolean { - return this.showCancelButton === 'focus' || - this.showCancelButton === 'true' || - this.showCancelButton === true || - this.showCancelButton === ''; + return ( + this.showCancelButton === 'focus' || + this.showCancelButton === 'true' || + this.showCancelButton === true || + this.showCancelButton === '' + ); } /** @@ -413,9 +415,11 @@ export class Searchbar implements ComponentInterface { * options are removed. */ private isCancelButtonSetToNever(): boolean { - return this.showCancelButton === 'never' || - this.showCancelButton === 'false' || - this.showCancelButton === false; + return ( + this.showCancelButton === 'never' || + this.showCancelButton === 'false' || + this.showCancelButton === false + ); } hostData() {