0.1.2
This commit is contained in:
@@ -35,8 +35,7 @@ export default function AppLayout({ auth, header, children, toolbar }) {
|
||||
const [theme, setTheme] = useState(getTheme());
|
||||
|
||||
useEffect(() => {
|
||||
getTheme();
|
||||
setTheme(theme);
|
||||
setTheme(getTheme());
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
@@ -215,7 +215,7 @@ export default function Chapters({ auth, comic, chapters, histories, offset }) {
|
||||
{ chapters.list.sort((a, b) => ascending ? (a.index - b.index) : (b.index - a.index)).map(c => (
|
||||
<ComicChapterLink key={ c.uuid } { ...c } />
|
||||
) ) }
|
||||
{ (chapters.total > chapters.limit && chapters.offset === 0) && (
|
||||
{ (chapters.total > chapters.limit && chapters.total > chapters.offset) && (
|
||||
<Button size="sm" variant="outline" asChild>
|
||||
<Link href="?" only={['chapters', 'offset']} headers={{ offset: parseInt(chapters.offset) + chapters.limit }}>
|
||||
Next <ChevronsRight />
|
||||
|
||||
@@ -11,6 +11,18 @@ export default function Updates({ auth }) {
|
||||
<title>Updates</title>
|
||||
</Head>
|
||||
<div className="p-3 pt-1">
|
||||
<Card className="w-[90%] m-3 mx-auto">
|
||||
<CardHeader>
|
||||
<CardTitle>0.1.2</CardTitle>
|
||||
<CardDescription>Release: 11 Jan 2025</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<ul>
|
||||
<li>Updated cache TTL</li>
|
||||
<li>Beta: Next chapter prefetch</li>
|
||||
</ul>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card className="w-[90%] m-3 mx-auto">
|
||||
<CardHeader>
|
||||
<CardTitle>0.1.1</CardTitle>
|
||||
|
||||
@@ -57,7 +57,7 @@ export function AppSidebar({ auth }) {
|
||||
</div>
|
||||
<div className="flex flex-col gap-0.5 leading-none">
|
||||
<span className="font-semibold">Comic</span>
|
||||
<span>0.1.1</span>
|
||||
<span>0.1.2</span>
|
||||
</div>
|
||||
</Link>
|
||||
</SidebarMenuButton>
|
||||
|
||||
Reference in New Issue
Block a user