Skip to content

Commit

Permalink
Always locate on location search page
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnagle committed Feb 3, 2024
1 parent 85130ac commit 963267d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions src/app/pages/location-search/location-search.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,16 @@
<ion-footer class="no-padding">
<ion-toolbar class="no-padding">



<ion-grid>
<ion-row>
<ion-col>
<ion-button shape="round" expand="block" color="primary" id="LocationButton" (click)="locatePhone()" >
<ion-icon slot="end" name="locate-outline"></ion-icon>{{'SEARCH' | translate }}
</ion-button>
</ion-col>
</ion-row>
<ion-row>
<ion-col >
<ion-item class="text-wrap">
{{radius}} {{'MEETINGS_NEAREST' | translate}} <b>&nbsp;"{{ currentAddress }}"</b>
</ion-item>
</ion-col>
</ion-row>
</ion-grid>





<ion-range id="RadiusRange" min="5" max="50" [value]=radius (ionKnobMoveEnd)="getAllMeetings($event)" pin="true" debounce="500">
<ion-label color="primary" slot="start">5 {{'MEETINGS' | translate}}</ion-label>
<ion-label color="primary"slot="end">50 {{'MEETINGS' | translate}}</ion-label>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/location-search/location-search.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class LocationSearchPage {
this.storage.get('savedAddress').then(value => {
if (value) {
this.currentAddress = value;
this.getAllMeetingsAfterLocate();
this.locatePhone();
} else {
this.locatePhone();
}
Expand Down

0 comments on commit 963267d

Please sign in to comment.