mirror of
https://github.com/git-touch/git-touch
synced 2025-02-13 01:50:43 +01:00
feat(github): twitter username for orgs
This commit is contained in:
parent
057bad71fe
commit
4c2a7177eb
@ -360,6 +360,15 @@ class GhUserScreen extends StatelessWidget {
|
|||||||
launchStringUrl(url);
|
launchStringUrl(url);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
if (p.twitterUsername != null)
|
||||||
|
AntListItem(
|
||||||
|
prefix: const Icon(Ionicons.logo_twitter),
|
||||||
|
child: Text('@${p.twitterUsername!}'),
|
||||||
|
onClick: () {
|
||||||
|
launchStringUrl(
|
||||||
|
'https://twitter.com/${p.twitterUsername}');
|
||||||
|
},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
CommonStyle.verticalGap,
|
CommonStyle.verticalGap,
|
||||||
|
@ -98,6 +98,7 @@ query User($login: String!) {
|
|||||||
location
|
location
|
||||||
email
|
email
|
||||||
websiteUrl
|
websiteUrl
|
||||||
|
twitterUsername
|
||||||
createdAt
|
createdAt
|
||||||
viewerIsFollowing
|
viewerIsFollowing
|
||||||
sponsors {
|
sponsors {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user