mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
@@ -188,7 +188,9 @@ abstract class BaseVideoWebState<
|
||||
|
||||
void onSubmit([_]) {
|
||||
try {
|
||||
controller.jumpToPage(int.parse(pageStr));
|
||||
controller.jumpToPage(
|
||||
int.parse(pageStr).clamp(1, controller.totalPage!),
|
||||
);
|
||||
} catch (e) {
|
||||
SmartDialog.showToast(e.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user