Skip to content

Commit

Permalink
Merge pull request #70 from Suwayomi/main
Browse files Browse the repository at this point in the history
set tab title in reader
  • Loading branch information
Robonau committed Nov 11, 2023
2 parents 4dce521 + 3709210 commit 672040a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/(app)/manga/[MangaID]/(manga)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
} from '$lib/generated';
import { ErrorhelpUntyped } from '$lib/util';
import type { ApolloCache, FetchResult } from '@apollo/client';
import type { PageData } from '../$types';
import type { PageData } from './$types';
import InfoSide from './InfoSide.svelte';
import MangaActions from './MangaActions.svelte';
import ChaptersSide from './chaptersSide.svelte';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@
import { paths, type PathLayout, type Paths, type Tpath } from './paths';
import { Layout, MangaMeta, Mode } from '$lib/simpleStores';
import { onMount } from 'svelte';
import { AppBarData } from '$lib/MountTitleAction';
export let data: PageData;
const mangaMeta = MangaMeta(data.MangaID);
let currentChapterID = data.ChapterID;
const toastStore = getToastStore();
const manga = getManga({ variables: { id: data.MangaID } });
const drawerStore = getDrawerStore();
const manga = getManga({ variables: { id: data.MangaID } });
$: $manga.data.manga, AppBarData($manga.data.manga?.title || 'Manga');
let chapterLoading = true;
let path: Paths;
Expand Down

0 comments on commit 672040a

Please sign in to comment.