Skip to content

Commit abda44e

Browse files
committed
style: update formating
1 parent 13b6f52 commit abda44e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/app/ble.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Injectable } from '@angular/core';
2+
import { BluetoothCore } from '@manekinekko/angular-web-bluetooth';
23
import { map } from 'rxjs/operators';
3-
import { BluetoothCore, BrowserWebBluetooth, ConsoleLoggerService } from '@manekinekko/angular-web-bluetooth';
44

55
type ServiceOptions = {
66
characteristic: string;

src/app/thingy52/battery-level.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, OnInit, OnDestroy } from '@angular/core';
1+
import { Component, OnDestroy, OnInit } from '@angular/core';
22
import { MatSnackBar } from '@angular/material/snack-bar';
33
import { BluetoothCore, BrowserWebBluetooth, ConsoleLoggerService } from '@manekinekko/angular-web-bluetooth';
44
import { Subscription } from 'rxjs';

src/app/thingy52/humidity.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Component, ElementRef, OnInit, ViewChild, OnDestroy } from '@angular/core';
1+
import { Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';
22
import { MatSnackBar } from '@angular/material/snack-bar';
33
import { BluetoothCore, BrowserWebBluetooth, ConsoleLoggerService } from '@manekinekko/angular-web-bluetooth';
4-
import { Subscription, of } from 'rxjs';
4+
import { of, Subscription } from 'rxjs';
55
import { SmoothieChart, TimeSeries } from 'smoothie';
66
import { BleService } from '../ble.service';
77

@@ -62,9 +62,9 @@ export class HumidityComponent implements OnInit, OnDestroy {
6262
this.initChart();
6363

6464
this.streamSubscription = this.service.stream()
65-
.subscribe(
66-
() => this.updateValue.bind(this),
67-
() => of(this.hasError.bind(this)),
65+
.subscribe(
66+
() => this.updateValue.bind(this),
67+
() => of(this.hasError.bind(this)),
6868
);
6969
}
7070

0 commit comments

Comments
 (0)