mirror of
https://github.com/git-touch/git-touch
synced 2024-12-19 03:33:42 +01:00
fix: do not wait tap callback
This commit is contained in:
parent
15d8414f36
commit
4b0dae9591
@ -26,9 +26,7 @@ class Link extends StatelessWidget {
|
|||||||
splashColor:
|
splashColor:
|
||||||
theme.theme == AppThemeType.cupertino ? Colors.transparent : null,
|
theme.theme == AppThemeType.cupertino ? Colors.transparent : null,
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
if (onTap != null) {
|
if (onTap != null) onTap();
|
||||||
await onTap();
|
|
||||||
}
|
|
||||||
theme.push(context, url);
|
theme.push(context, url);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user