mirror of
https://github.com/git-touch/git-touch
synced 2025-01-22 04:06:35 +01:00
fix: hex color prefix
This commit is contained in:
parent
4e715d9697
commit
d9c50cd0a9
@ -52,7 +52,7 @@ class GhIssuesScreen extends StatelessWidget {
|
||||
? null
|
||||
: Wrap(spacing: 4, runSpacing: 4, children: [
|
||||
for (var label in p.labels!.nodes!)
|
||||
HexColorTag(name: label.name, color: label.color)
|
||||
HexColorTag(name: label.name, color: '#${label.color}')
|
||||
]),
|
||||
url: '/github/$owner/$name/issues/${p.number}',
|
||||
);
|
||||
|
@ -204,7 +204,8 @@ class TimelineItem extends StatelessWidget {
|
||||
textSpan: TextSpan(children: [
|
||||
TextSpan(text: ' ${AppLocalizations.of(context)!.added} '),
|
||||
WidgetSpan(
|
||||
child: HexColorTag(name: p.label.name, color: p.label.color)),
|
||||
child: HexColorTag(
|
||||
name: p.label.name, color: '#${p.label.color}')),
|
||||
TextSpan(text: ' ${AppLocalizations.of(context)!.label}'),
|
||||
]),
|
||||
);
|
||||
@ -216,7 +217,8 @@ class TimelineItem extends StatelessWidget {
|
||||
textSpan: TextSpan(children: [
|
||||
TextSpan(text: ' ${AppLocalizations.of(context)!.removed} '),
|
||||
WidgetSpan(
|
||||
child: HexColorTag(name: p.label.name, color: p.label.color)),
|
||||
child: HexColorTag(
|
||||
name: p.label.name, color: '#${p.label.color}')),
|
||||
TextSpan(text: ' ${AppLocalizations.of(context)!.label}'),
|
||||
]),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user