mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 18:04:18 +01:00
add web apps
This commit is contained in:
@@ -196,6 +196,15 @@ class _WebHomeComponent extends State<WebHomeComponent> {
|
||||
main = WebHomeBtnComponent(bookmark!);
|
||||
} else {
|
||||
if (bookmarks.length == index) {
|
||||
main = GestureDetector(
|
||||
onTap: () {
|
||||
RouterUtil.router(context, RouterPath.WEB_APPS);
|
||||
},
|
||||
child: Container(
|
||||
child: Icon(Icons.apps),
|
||||
),
|
||||
);
|
||||
} else if (bookmarks.length + 1 == index) {
|
||||
main = GestureDetector(
|
||||
onTap: () {
|
||||
BookmarkEditDialog.show(
|
||||
|
||||
Reference in New Issue
Block a user