mirror of
https://github.com/git-touch/git-touch
synced 2025-01-31 16:14:49 +01:00
fix(gh): org repos language color
This commit is contained in:
parent
b3f56adbe9
commit
c2be166a05
@ -3,10 +3,11 @@ import 'package:flutter/cupertino.dart';
|
|||||||
import 'package:git_touch/models/bitbucket.dart';
|
import 'package:git_touch/models/bitbucket.dart';
|
||||||
import 'package:git_touch/models/gitlab.dart';
|
import 'package:git_touch/models/gitlab.dart';
|
||||||
import 'package:git_touch/models/theme.dart';
|
import 'package:git_touch/models/theme.dart';
|
||||||
|
import 'package:git_touch/utils/utils.dart';
|
||||||
import 'package:git_touch/widgets/avatar.dart';
|
import 'package:git_touch/widgets/avatar.dart';
|
||||||
|
import 'package:git_touch/widgets/link.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import '../utils/utils.dart';
|
import 'package:github/src/const/language_color.dart';
|
||||||
import 'link.dart';
|
|
||||||
import 'package:timeago/timeago.dart' as timeago;
|
import 'package:timeago/timeago.dart' as timeago;
|
||||||
|
|
||||||
class RepositoryItem extends StatelessWidget {
|
class RepositoryItem extends StatelessWidget {
|
||||||
@ -190,7 +191,8 @@ class RepositoryItem extends StatelessWidget {
|
|||||||
width: 12,
|
width: 12,
|
||||||
height: 12,
|
height: 12,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: convertColor(primaryLanguageColor),
|
color: convertColor(primaryLanguageColor ??
|
||||||
|
languagesColor[primaryLanguageName]),
|
||||||
shape: BoxShape.circle,
|
shape: BoxShape.circle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user