Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashpatil78 committed Mar 15, 2024
1 parent 44e7558 commit 4d3d4ca
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/fyle/add-edit-mileage/add-edit-mileage.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2975,6 +2975,7 @@ export class AddEditMileagePage implements OnInit {
async openCommuteDetailsModal(): Promise<Subscription> {
const commuteDetailsModal = await this.modalController.create({
component: FySelectCommuteDetailsComponent,
mode: 'ios',
});

await commuteDetailsModal.present();
Expand Down
1 change: 1 addition & 0 deletions src/app/fyle/dashboard/tasks/tasks.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ export class TasksComponent implements OnInit {
async onCommuteDetailsTaskClick(): Promise<void> {
const commuteDetailsModal = await this.modalController.create({
component: FySelectCommuteDetailsComponent,
mode: 'ios',
});

await commuteDetailsModal.present();
Expand Down
1 change: 1 addition & 0 deletions src/app/fyle/my-profile/my-profile.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ export class MyProfilePage {
componentProps: {
existingCommuteDetails: this.commuteDetails,
},
mode: 'ios',
});

await commuteDetailsModal.present();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ion-header mode="md">
<ion-toolbar class="text-center fy-modal-toolbar">
<ion-toolbar class="text-center commute-details--toolbar fy-modal-toolbar">
<ion-buttons slot="start">
<ion-button (click)="close()">
<mat-icon class="fy-icon-close" svgIcon="cross"></mat-icon>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
@import '../../../../theme/colors.scss';

.commute-details {
&--toolbar {
margin-top: calc(env(safe-area-inset-top));
}

&--header {
&-save {
--color: $brand-primary;
Expand Down

0 comments on commit 4d3d4ca

Please sign in to comment.