remove invalid later view type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-10 15:45:02 +08:00
parent 88288f4a7a
commit f5d52237c5
2 changed files with 9 additions and 8 deletions

View File

@@ -2,14 +2,15 @@ import 'package:PiliPlus/pages/later/child_view.dart';
import 'package:flutter/material.dart';
enum LaterViewType {
all('全部'),
toView('未看'),
unfinished('未看完'),
viewed('已看完');
all(0, '全部'),
// toView(1, '未看'),
unfinished(2, '未看完'),
// viewed(3, '已看完'),
;
int get type => index;
Widget get page => LaterViewChildPage(laterViewType: this);
final int type;
final String title;
const LaterViewType(this.title);
const LaterViewType(this.type, this.title);
}