mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-26 04:42:35 -05:00
fix: link url null
This commit is contained in:
@@ -69,7 +69,7 @@ class Link extends StatelessWidget {
|
||||
padding: EdgeInsets.all(0),
|
||||
onPressed: () async {
|
||||
if (onTap != null) onTap();
|
||||
theme.push(context, url);
|
||||
if (url != null) theme.push(context, url);
|
||||
},
|
||||
);
|
||||
default:
|
||||
@@ -77,7 +77,7 @@ class Link extends StatelessWidget {
|
||||
child: child,
|
||||
onTap: () async {
|
||||
if (onTap != null) onTap();
|
||||
theme.push(context, url);
|
||||
if (url != null) theme.push(context, url);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user