Skip to content

Commit

Permalink
Removing unneded ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Nov 24, 2024
1 parent 51f0841 commit 7ded64d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2911,9 +2911,6 @@ export class BrewBrewingGraphComponent implements OnInit {
if (!isSmartScaleConnected) {
//Just update the chart if a smart scale is not connected - else it has huge performance issues on android
this.updateChart('pressure');
}

if (!isSmartScaleConnected) {
this.flowSecondTick++;
}

Expand Down Expand Up @@ -2968,9 +2965,6 @@ export class BrewBrewingGraphComponent implements OnInit {
if (!isSmartScaleConnected) {
//Just update the chart if a smart scale is not connected - else it has huge performance issues on android
this.updateChart('temperature');
}

if (!isSmartScaleConnected) {
this.flowSecondTick++;
}

Expand Down

0 comments on commit 7ded64d

Please sign in to comment.