mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-09 07:12:11 -05:00
feat(github): twitter username at user screen
This commit is contained in:
@@ -145,6 +145,14 @@ class _User extends StatelessWidget {
|
||||
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,
|
||||
|
||||
@@ -30,6 +30,7 @@ fragment UserParts on User {
|
||||
url
|
||||
email
|
||||
websiteUrl
|
||||
twitterUsername
|
||||
viewerCanFollow # TODO: remove in viewer query
|
||||
viewerIsFollowing
|
||||
sponsors {
|
||||
|
||||
Reference in New Issue
Block a user