Skip to content

Commit

Permalink
Revert "remove pwa & stuff"
Browse files Browse the repository at this point in the history
This reverts commit 64792a0.
  • Loading branch information
philipp-1337 committed Sep 30, 2024
1 parent bcb63e6 commit f7d7a7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import { IconsClass } from './icons.class';
import { UpdateService } from './update.service';
import { SnackbarClass } from './snackbar.class';
import { PwaService } from './pwa.service';
import { MatSnackBarModule } from '@angular/material/snack-bar';
import { MatBottomSheetModule } from '@angular/material/bottom-sheet';

const initializer = (pwaService: PwaService) => () => pwaService.initPwaPrompt();

Expand All @@ -37,8 +35,6 @@ const initializer = (pwaService: PwaService) => () => pwaService.initPwaPrompt()
MatFormFieldModule,
MatSelectModule,
MatInputModule,
MatSnackBarModule,
MatBottomSheetModule,
MtxColorpickerModule,
NavbarComponent,
PromptComponent
Expand Down
4 changes: 2 additions & 2 deletions src/app/prompt/prompt.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Inject } from '@angular/core';
import { MAT_BOTTOM_SHEET_DATA, MatBottomSheetModule, MatBottomSheetRef } from '@angular/material/bottom-sheet';
import { MAT_BOTTOM_SHEET_DATA, MatBottomSheetRef } from '@angular/material/bottom-sheet';
import { IconsClass } from '../icons.class';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatIconModule } from '@angular/material/icon';
Expand All @@ -10,7 +10,7 @@ import { BeforeInstallPromptEvent } from '../beforeinstallpromptevent.interface'
selector: 'app-prompt',
templateUrl: './prompt.component.html',
standalone: true,
imports: [MatToolbarModule, MatIconModule, NgIf, MatBottomSheetModule],
imports: [MatToolbarModule, MatIconModule, NgIf],
providers: [IconsClass],
})
export class PromptComponent {
Expand Down

0 comments on commit f7d7a7b

Please sign in to comment.