Skip to content

Commit

Permalink
#172 - mobile threshold change to 1200
Browse files Browse the repository at this point in the history
  • Loading branch information
bracyw committed Sep 16, 2024
1 parent 7f32b4a commit e9cccc7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class ChargingPageMobile {
@Input() time = new Date();
location: string = 'No Location Set';
constructor(private storage: Storage) {}
mobileThreshold = 1000;
mobileThreshold = 1200;
isMobile = window.innerWidth < this.mobileThreshold;

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class ChargingPage implements OnInit {
time = new Date();
location: string = 'No Location Set';
constructor(private storage: Storage) {}
mobileThreshold = 1000;
mobileThreshold = 1200;
isMobile = window.innerWidth < this.mobileThreshold;

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class CellTempDisplay {
},
icon: 'restart_alt'
};
mobileThreshold = 1000;
mobileThreshold = 1200;
isDesktop = window.innerWidth > this.mobileThreshold;

@HostListener('window:resize', ['$event'])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Component, HostListener } from '@angular/core';
styleUrls: ['./combined-status-display.component.css']
})
export default class CombinedStatusDisplay {
mobileThreshold = 1000;
mobileThreshold = 1200;
isMobile = window.innerWidth < this.mobileThreshold;

@HostListener('window:resize', ['$event'])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class HighLowCellDisplay {
delta: number = 0;
lowCellVoltage: number = 0;
highCellVoltage: number = 0;
mobileThreshold = 1000;
mobileThreshold = 1200;
isDesktop = window.innerWidth > this.mobileThreshold;
resetGraph: boolean = false;
resetGraphButton = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class PackVoltageDisplay {
},
icon: 'restart_alt'
};
mobileThreshold = 1000;
mobileThreshold = 1200;
isDesktop = window.innerWidth > this.mobileThreshold;

@HostListener('window:resize', ['$event'])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class LandingPage implements OnInit {
time = new Date();
location: string = 'No Location Set';
newRunIsLoading = false;
mobileThreshold = 1000;
mobileThreshold = 1200;
isMobile = window.innerWidth < this.mobileThreshold;

constructor(
Expand Down

0 comments on commit e9cccc7

Please sign in to comment.