mirror of
https://github.com/git-touch/git-touch
synced 2024-12-19 03:33:42 +01:00
improvement: check suite icon
This commit is contained in:
parent
4099baaadb
commit
15d8414f36
@ -1,4 +1,3 @@
|
|||||||
import 'package:fimber/fimber.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/cupertino.dart';
|
import 'package:flutter/cupertino.dart';
|
||||||
import 'package:git_touch/widgets/issue_icon.dart';
|
import 'package:git_touch/widgets/issue_icon.dart';
|
||||||
@ -59,8 +58,9 @@ class _NotificationItemState extends State<NotificationItem> {
|
|||||||
return _buildIcon(Octicons.tag);
|
return _buildIcon(Octicons.tag);
|
||||||
case 'Commit':
|
case 'Commit':
|
||||||
return _buildIcon(Octicons.git_commit);
|
return _buildIcon(Octicons.git_commit);
|
||||||
|
case 'CheckSuite':
|
||||||
|
return _buildIcon(Octicons.x, GithubPalette.closed);
|
||||||
default:
|
default:
|
||||||
Fimber.d('Unhandled notification type: ${payload.subject.type}');
|
|
||||||
return _buildIcon(Octicons.octoface);
|
return _buildIcon(Octicons.octoface);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user