Skip to content

Commit

Permalink
Remove comics for now
Browse files Browse the repository at this point in the history
  • Loading branch information
floogulinc committed Sep 23, 2022
1 parent 6dda34f commit 1c26cd9
Show file tree
Hide file tree
Showing 16 changed files with 84 additions and 432 deletions.
4 changes: 0 additions & 4 deletions src/app/about/about.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ <h2 class="mat-display-1">About</h2>
<div mat-line>Clear session file metadata cache</div>
<div mat-line>{{filesService.getFilesCacheSize()}} files cached</div>
</a>
<a mat-list-item role="listitem" (click)="comicsService.clearComics()">
<div mat-line>Clear known comics</div>
<div mat-line>{{comicsService.comicsFlat.length}} comics cached</div>
</a>
<mat-list-item role="listitem">
<div mat-line>Platform</div>
<div mat-line *ngIf="platform.ANDROID">Android</div>
Expand Down
2 changes: 0 additions & 2 deletions src/app/about/about.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { environment } from 'src/environments/environment';
import { Component, OnInit } from '@angular/core';
import { SwUpdate } from '@angular/service-worker';
import { HydrusFilesService } from '../hydrus-files.service';
import { ComicsService } from '../comics.service';
import { Platform } from '@angular/cdk/platform';

@Component({
Expand All @@ -15,7 +14,6 @@ export class AboutComponent implements OnInit {
constructor(
public updates: SwUpdate,
public filesService: HydrusFilesService,
public comicsService: ComicsService,
public platform: Platform) { }

public doc = document;
Expand Down
4 changes: 0 additions & 4 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ import { BrowseComponent } from './browse/browse.component';
import { AboutComponent } from './about/about.component';
import { PagesComponent } from './pages/pages.component';
import { SendComponent } from './send/send.component';
import { ComicsListComponent } from './comics-list/comics-list.component';
import { ComicComponent } from './comic/comic.component';

const routes: Routes = [
{path: '', component: BrowseComponent, pathMatch: 'full'},
{path: 'pages', component: PagesComponent},
{path: 'comics', component: ComicsListComponent},
{path: 'comics/view', component: ComicComponent},
{path: 'send', component: SendComponent},
{path: 'settings', component: SettingsComponent},
{path: 'about', component: AboutComponent},
Expand Down
4 changes: 0 additions & 4 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<mat-icon matListIcon>photo_library</mat-icon>
Pages
</a>
<a mat-list-item routerLink="/comics" routerLinkActive="drawer-list-item-active" (click)="drawer.close()">
<mat-icon matListIcon>collections_bookmark</mat-icon>
Comics
</a>
<a mat-list-item routerLink="/send" routerLinkActive="drawer-list-item-active" (click)="drawer.close()">
<mat-icon matListIcon>send</mat-icon>
Send
Expand Down
4 changes: 0 additions & 4 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
import {MatDialogModule} from '@angular/material/dialog';
import {MatExpansionModule} from '@angular/material/expansion';
import { NgPipesModule } from 'ngx-pipes';
import { ComicsListComponent } from './comics-list/comics-list.component';
import { ComicComponent } from './comic/comic.component';
import { ImageListLoaderComponent } from './image-list-loader/image-list-loader.component';
import { ToolbarActionsComponent } from './toolbar-actions/toolbar-actions.component';
import { JoinPipe } from './utils/join.pipe';
Expand Down Expand Up @@ -103,8 +101,6 @@ const MAT_MODULES = [
FilesPageComponent,
SendComponent,
FileInfoSheetComponent,
ComicsListComponent,
ComicComponent,
ImageListLoaderComponent,
ToolbarActionsComponent,
JoinPipe,
Expand Down
4 changes: 0 additions & 4 deletions src/app/comic/comic.component.html

This file was deleted.

3 changes: 0 additions & 3 deletions src/app/comic/comic.component.scss

This file was deleted.

25 changes: 0 additions & 25 deletions src/app/comic/comic.component.spec.ts

This file was deleted.

54 changes: 0 additions & 54 deletions src/app/comic/comic.component.ts

This file was deleted.

49 changes: 0 additions & 49 deletions src/app/comics-list/comics-list.component.html

This file was deleted.

66 changes: 0 additions & 66 deletions src/app/comics-list/comics-list.component.scss

This file was deleted.

25 changes: 0 additions & 25 deletions src/app/comics-list/comics-list.component.spec.ts

This file was deleted.

30 changes: 0 additions & 30 deletions src/app/comics-list/comics-list.component.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/app/comics.service.spec.ts

This file was deleted.

Loading

0 comments on commit 1c26cd9

Please sign in to comment.