mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 01:44:19 +01:00
some btn add coming toast
This commit is contained in:
@@ -171,9 +171,14 @@ class _AddRemoteAppRouter extends State<AddRemoteAppRouter> {
|
||||
unselectedLabelColor: textColor,
|
||||
indicatorColor: mainColor,
|
||||
tabs: [
|
||||
Text(
|
||||
"Connect by\nnostrconnect:// url",
|
||||
textAlign: TextAlign.center,
|
||||
GestureDetector(
|
||||
child: Text(
|
||||
"Connect by\nnostrconnect:// url",
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
onTap: () {
|
||||
BotToast.showText(text: "Coming...");
|
||||
},
|
||||
),
|
||||
Text(
|
||||
"Connect by\nbunker:// url",
|
||||
@@ -218,7 +223,9 @@ class _AddRemoteAppRouter extends State<AddRemoteAppRouter> {
|
||||
margin: EdgeInsets.only(top: Base.BASE_PADDING),
|
||||
width: double.infinity,
|
||||
child: FilledButton(
|
||||
onPressed: () {},
|
||||
onPressed: () {
|
||||
BotToast.showText(text: "Coming...");
|
||||
},
|
||||
child: Text("Confirm"),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'package:bot_toast/bot_toast.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:nowser/const/base.dart';
|
||||
import 'package:nowser/const/router_path.dart';
|
||||
@@ -67,6 +68,7 @@ class _WebControlComponent extends State<WebControlComponent> {
|
||||
),
|
||||
onTap: () {
|
||||
webProvider.refresh(context);
|
||||
widget.closeControl();
|
||||
},
|
||||
),
|
||||
),
|
||||
@@ -77,6 +79,9 @@ class _WebControlComponent extends State<WebControlComponent> {
|
||||
Icons.disabled_visible_outlined,
|
||||
size: 30,
|
||||
),
|
||||
onTap: () {
|
||||
BotToast.showText(text: "Coming...");
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -97,7 +102,7 @@ class _WebControlComponent extends State<WebControlComponent> {
|
||||
var url =
|
||||
await RouterUtil.router(context, RouterPath.BOOKMARK);
|
||||
if (webProvider.currentGoTo(url)) {
|
||||
RouterUtil.back(context);
|
||||
widget.closeControl();
|
||||
}
|
||||
},
|
||||
),
|
||||
@@ -129,7 +134,7 @@ class _WebControlComponent extends State<WebControlComponent> {
|
||||
var url =
|
||||
await RouterUtil.router(context, RouterPath.HISTORY);
|
||||
if (webProvider.currentGoTo(url)) {
|
||||
RouterUtil.back(context);
|
||||
widget.closeControl();
|
||||
}
|
||||
},
|
||||
),
|
||||
@@ -141,6 +146,9 @@ class _WebControlComponent extends State<WebControlComponent> {
|
||||
Icons.download,
|
||||
size: 30,
|
||||
),
|
||||
onTap: () {
|
||||
BotToast.showText(text: "Coming...");
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -181,6 +181,9 @@ class _MeRouter extends CustState<MeRouter> {
|
||||
num: downloadNum,
|
||||
name: "Download",
|
||||
iconData: Icons.download,
|
||||
onTap: () {
|
||||
BotToast.showText(text: "Coming...");
|
||||
},
|
||||
));
|
||||
// webItemList.add(MeRouterWebItemComponent(
|
||||
// num: 102,
|
||||
|
||||
Reference in New Issue
Block a user