Skeleton loader updates

This commit is contained in:
softsimon
2022-08-30 10:42:50 +02:00
parent 0c71d505f2
commit dd9ff41fde
5 changed files with 40 additions and 14 deletions

View File

@@ -4,7 +4,6 @@ import { Observable } from 'rxjs';
import { catchError, map, switchMap } from 'rxjs/operators';
import { SeoService } from 'src/app/services/seo.service';
import { LightningApiService } from '../lightning-api.service';
import { isMobile } from '../../shared/common.utils';
import { GeolocationData } from 'src/app/shared/components/geolocation/geolocation.component';
@Component({
@@ -23,17 +22,12 @@ export class NodeComponent implements OnInit {
error: Error;
publicKey: string;
channelListLoading = false;
publicKeySize = 99;
constructor(
private lightningApiService: LightningApiService,
private activatedRoute: ActivatedRoute,
private seoService: SeoService,
) {
if (isMobile()) {
this.publicKeySize = 12;
}
}
) { }
ngOnInit(): void {
this.node$ = this.activatedRoute.paramMap