mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 09:54:19 +01:00
add bookmark and bookmark page
This commit is contained in:
@@ -153,6 +153,12 @@ class _MeRouter extends CustState<MeRouter> {
|
||||
num: bookmarkNum,
|
||||
name: "Bookmark",
|
||||
iconData: Icons.bookmark,
|
||||
onTap: () async {
|
||||
var url = await RouterUtil.router(context, RouterPath.BOOKMARK);
|
||||
if (webProvider.currentGoTo(url)) {
|
||||
RouterUtil.back(context);
|
||||
}
|
||||
},
|
||||
));
|
||||
webItemList.add(MeRouterWebItemComponent(
|
||||
num: historyNum,
|
||||
@@ -160,7 +166,6 @@ class _MeRouter extends CustState<MeRouter> {
|
||||
iconData: Icons.history,
|
||||
onTap: () async {
|
||||
var url = await RouterUtil.router(context, RouterPath.HISTORY);
|
||||
print("url $url");
|
||||
if (webProvider.currentGoTo(url)) {
|
||||
RouterUtil.back(context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user