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

Commit a14f685

Browse files
Matching code style
1 parent d64ea63 commit a14f685

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/GitHub.App/Models/Account.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ namespace GitHub.Models
1414
public class Account : ReactiveObject, IAccount
1515
{
1616
BitmapSource avatar;
17+
IObservable<BitmapSource> bitmapSource;
18+
IDisposable bitmapSourceSubscription;
1719

18-
IObservable<BitmapSource> BitmapSource;
19-
private IDisposable _bitmapSourceSubscription;
2020
public Account(
2121
string login,
2222
bool isUser,
@@ -32,9 +32,9 @@ public Account(
3232
PrivateReposInPlan = privateRepositoryInPlanCount;
3333
IsOnFreePlan = privateRepositoryInPlanCount == 0;
3434
HasMaximumPrivateRepositories = OwnedPrivateRepos >= PrivateReposInPlan;
35-
BitmapSource = bitmapSource;
35+
this.bitmapSource = bitmapSource;
3636

37-
_bitmapSourceSubscription = bitmapSource
37+
bitmapSourceSubscription = bitmapSource
3838
.ObserveOn(RxApp.MainThreadScheduler)
3939
.Subscribe(x => Avatar = x);
4040
}
@@ -88,9 +88,9 @@ public void CopyFrom(IAccount other)
8888
var otherAccount = other as Account;
8989
if (otherAccount != null)
9090
{
91-
_bitmapSourceSubscription.Dispose();
91+
bitmapSourceSubscription.Dispose();
9292

93-
_bitmapSourceSubscription = otherAccount.BitmapSource
93+
bitmapSourceSubscription = otherAccount.bitmapSource
9494
.ObserveOn(RxApp.MainThreadScheduler)
9595
.Subscribe(x => Avatar = x);
9696
}

0 commit comments

Comments
 (0)