mirror of
https://github.com/git-touch/git-touch
synced 2024-12-13 17:08:49 +01:00
fix: style and dependency
This commit is contained in:
parent
d476018092
commit
b4c21a1372
@ -124,7 +124,7 @@ $key: pullRequest(number: ${item.number}) {
|
||||
children: <Widget>[
|
||||
Text(
|
||||
repo,
|
||||
style: TextStyle(color: Colors.black, fontSize: 15),
|
||||
style: TextStyle(color: Colors.black, fontSize: 16),
|
||||
),
|
||||
Link(
|
||||
material: false,
|
||||
@ -136,7 +136,7 @@ $key: pullRequest(number: ${item.number}) {
|
||||
child: Icon(
|
||||
Octicons.check,
|
||||
color: Colors.black45,
|
||||
size: 20,
|
||||
size: 24,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
@ -76,7 +76,10 @@ class _UserScreenState extends State<UserScreen> {
|
||||
}
|
||||
|
||||
return ListGroup(
|
||||
title: Text(title),
|
||||
title: Text(
|
||||
title,
|
||||
style: TextStyle(fontSize: 16),
|
||||
),
|
||||
items: items,
|
||||
itemBuilder: (item, _) => RepoItem(item),
|
||||
);
|
||||
@ -95,7 +98,7 @@ class _UserScreenState extends State<UserScreen> {
|
||||
size: 16,
|
||||
),
|
||||
Padding(padding: EdgeInsets.only(left: 4)),
|
||||
Text(email, style: TextStyle(color: Colors.black54, fontSize: 16))
|
||||
Text(email, style: TextStyle(color: Colors.black54, fontSize: 15))
|
||||
]),
|
||||
beforeRedirect: () {
|
||||
launch('mailto:' + email);
|
||||
@ -248,8 +251,10 @@ class _UserScreenState extends State<UserScreen> {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
Text(payload['name'] ?? widget.login,
|
||||
style: TextStyle(height: 1.2)),
|
||||
Text(
|
||||
payload['name'] ?? widget.login,
|
||||
style: TextStyle(height: 1.2, fontSize: 16),
|
||||
),
|
||||
Padding(padding: EdgeInsets.only(top: 10)),
|
||||
_buildEmail(payload),
|
||||
],
|
||||
|
@ -123,7 +123,7 @@ class _NotificationItemState extends State<NotificationItem> {
|
||||
return Icon(
|
||||
payload.unread ? Octicons.check : Octicons.primitive_dot,
|
||||
color: loading ? Colors.black12 : Colors.black45,
|
||||
size: 20,
|
||||
size: 24,
|
||||
);
|
||||
}
|
||||
|
||||
@ -165,6 +165,7 @@ class _NotificationItemState extends State<NotificationItem> {
|
||||
child: Text(
|
||||
payload.title,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(fontSize: 15),
|
||||
),
|
||||
),
|
||||
Link(child: _buildCheckIcon(), beforeRedirect: _markAsRead),
|
||||
|
@ -24,6 +24,7 @@ dependencies:
|
||||
flutter_markdown: ^0.2.0
|
||||
shared_preferences: ^0.5.0
|
||||
nanoid: ^0.0.6
|
||||
share: ^0.6.0
|
||||
|
||||
# The following adds the Cupertino Icons font to your application.
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
|
Loading…
Reference in New Issue
Block a user