mirror of
https://github.com/git-touch/git-touch
synced 2024-12-15 01:45:05 +01:00
parent
daf5c8ac45
commit
1d1804fa86
@ -314,9 +314,7 @@ __typename
|
|||||||
login
|
login
|
||||||
}
|
}
|
||||||
pullRequest {
|
pullRequest {
|
||||||
headRef {
|
headRefName
|
||||||
name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
... on BaseRefForcePushedEvent {
|
... on BaseRefForcePushedEvent {
|
||||||
@ -342,9 +340,7 @@ __typename
|
|||||||
login
|
login
|
||||||
}
|
}
|
||||||
pullRequest {
|
pullRequest {
|
||||||
headRef {
|
headRefName
|
||||||
name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
beforeCommit {
|
beforeCommit {
|
||||||
oid
|
oid
|
||||||
|
@ -358,7 +358,7 @@ class TimelineItem extends StatelessWidget {
|
|||||||
textSpan: TextSpan(children: [
|
textSpan: TextSpan(children: [
|
||||||
TextSpan(text: ' restored the '),
|
TextSpan(text: ' restored the '),
|
||||||
WidgetSpan(
|
WidgetSpan(
|
||||||
child: PrimerBranchName(p['pullRequest']['headRef']['name'])),
|
child: PrimerBranchName(p['pullRequest']['headRefName'])),
|
||||||
TextSpan(text: ' branch')
|
TextSpan(text: ' branch')
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
@ -370,7 +370,7 @@ class TimelineItem extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
TextSpan(text: ' force-pushed the '),
|
TextSpan(text: ' force-pushed the '),
|
||||||
WidgetSpan(
|
WidgetSpan(
|
||||||
child: PrimerBranchName(p['pullRequest']['headRef']['name'])),
|
child: PrimerBranchName(p['pullRequest']['headRefName'])),
|
||||||
TextSpan(text: ' branch from '),
|
TextSpan(text: ' branch from '),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: (p['beforeCommit']['oid'] as String).substring(0, 7),
|
text: (p['beforeCommit']['oid'] as String).substring(0, 7),
|
||||||
|
Loading…
Reference in New Issue
Block a user