Improved tablet webview
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import 'package:linkdy/config/options.dart';
|
||||
import 'package:linkdy/constants/enums.dart';
|
||||
import 'package:linkdy/models/data/bookmarks.dart';
|
||||
@@ -11,6 +13,7 @@ class BookmarksModel {
|
||||
int maxNumber;
|
||||
ReadStatus readStatus;
|
||||
Bookmark? selectedBookmark;
|
||||
final GoRouter webViewRouter;
|
||||
|
||||
BookmarksModel({
|
||||
this.currentPage = 0,
|
||||
@@ -21,5 +24,6 @@ class BookmarksModel {
|
||||
this.maxNumber = 0,
|
||||
this.readStatus = ReadStatus.all,
|
||||
this.selectedBookmark,
|
||||
required this.webViewRouter,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import 'package:linkdy/config/options.dart';
|
||||
import 'package:linkdy/constants/enums.dart';
|
||||
@@ -14,6 +15,7 @@ class SearchBookmarksModel {
|
||||
bool loadingMore;
|
||||
int maxNumber;
|
||||
Bookmark? selectedBookmark;
|
||||
final GoRouter webViewRouter;
|
||||
|
||||
SearchBookmarksModel({
|
||||
required this.searchController,
|
||||
@@ -25,5 +27,6 @@ class SearchBookmarksModel {
|
||||
this.loadingMore = false,
|
||||
this.maxNumber = 0,
|
||||
this.selectedBookmark,
|
||||
required this.webViewRouter,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user