mirror of
https://github.com/git-touch/git-touch
synced 2024-12-15 09:56:15 +01:00
parent
1d1804fa86
commit
02e8d66ae2
@ -24,7 +24,7 @@ class GlGroupsScreenn extends StatelessWidget {
|
||||
);
|
||||
},
|
||||
itemBuilder: (v) {
|
||||
return UserItem.gitlab(
|
||||
return UserItem.gitlabGroup(
|
||||
avatarUrl: v.avatarUrl,
|
||||
login: v.path,
|
||||
name: v.name,
|
||||
|
@ -32,6 +32,14 @@ class UserItem extends StatelessWidget {
|
||||
@required this.avatarUrl,
|
||||
@required this.bio,
|
||||
@required int id,
|
||||
}) : url = '/gitlab/user/$id';
|
||||
|
||||
UserItem.gitlabGroup({
|
||||
@required this.login,
|
||||
@required this.name,
|
||||
@required this.avatarUrl,
|
||||
@required this.bio,
|
||||
@required int id,
|
||||
}) : url = '/gitlab/group/$id';
|
||||
|
||||
UserItem.gitea({
|
||||
|
Loading…
Reference in New Issue
Block a user