Skip to content

Commit aa1c8b1

Browse files
committed
code_style: use combined expr
Signed-off-by: leo <longshuang@msn.cn>
1 parent 5e303d4 commit aa1c8b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ViewModels/Histories.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ public void DoubleTapped(Models.Commit commit)
237237
if (remoteBranch != null)
238238
{
239239
// If there's a local branch that is tracking on this remote branch and it does not ahead of
240-
// its upstream, show `Create and Fast-Forward` popup.
240+
// its upstream, show `Checkout and Fast-Forward` popup.
241241
var localBranch = _repo.Branches.Find(x => x.IsLocal && x.Upstream == remoteBranch.FullName);
242-
if (localBranch is { TrackStatus: { Ahead: { Count: 0 } } })
242+
if (localBranch is { TrackStatus.Ahead.Count: 0 })
243243
{
244244
if (_repo.CanCreatePopup())
245245
_repo.ShowPopup(new CheckoutAndFastForward(_repo, localBranch, remoteBranch));

0 commit comments

Comments
 (0)