Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit babe48d

Browse files
committed
Rename backing field to match property.
1 parent 43209e0 commit babe48d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GitHub.App/ViewModels/PullRequestListViewModel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ public IAccount EmptyUser
226226
get { return emptyUser; }
227227
}
228228

229-
readonly Subject<ViewWithData> load = new Subject<ViewWithData>();
230-
public IObservable<ViewWithData> Navigate => load;
229+
readonly Subject<ViewWithData> navigate = new Subject<ViewWithData>();
230+
public IObservable<ViewWithData> Navigate => navigate;
231231

232232
public ReactiveCommand<object> OpenPullRequest { get; }
233233
public ReactiveCommand<object> CreatePullRequest { get; }
@@ -263,13 +263,13 @@ void SaveSettings()
263263
void DoOpenPullRequest(object pullRequest)
264264
{
265265
var d = new ViewWithData(UIControllerFlow.PullRequestDetail) { Data = pullRequest };
266-
load.OnNext(d);
266+
navigate.OnNext(d);
267267
}
268268

269269
void DoCreatePullRequest()
270270
{
271271
var d = new ViewWithData(UIControllerFlow.PullRequestCreation);
272-
load.OnNext(d);
272+
navigate.OnNext(d);
273273
}
274274
}
275275
}

0 commit comments

Comments
 (0)