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

Commit 172696c

Browse files
committed
🎨 Make fields readonly that can be readonly
1 parent 4ed8a87 commit 172696c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GitHub.App/Models/RepositoryHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class RepositoryHost : ReactiveObject, IRepositoryHost
2828
readonly ILoginCache loginCache;
2929

3030
bool isLoggedIn;
31-
bool isEnterprise;
31+
readonly bool isEnterprise;
3232

3333
public RepositoryHost(
3434
IApiClient apiClient,

src/GitHub.App/ViewModels/LoginToGitHubViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace GitHub.ViewModels
1515
[PartCreationPolicy(CreationPolicy.NonShared)]
1616
public class LoginToGitHubViewModel : LoginTabViewModel, ILoginToGitHubViewModel
1717
{
18-
Uri baseUri;
18+
readonly Uri baseUri;
1919

2020
[ImportingConstructor]
2121
public LoginToGitHubViewModel(IRepositoryHosts repositoryHosts, IVisualStudioBrowser browser)

0 commit comments

Comments
 (0)