Skip to content

Commit

Permalink
起動時に更新を確認するようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd committed Aug 4, 2023
1 parent 2a3fbd6 commit 40c65ec
Show file tree
Hide file tree
Showing 5 changed files with 509 additions and 173 deletions.
3 changes: 3 additions & 0 deletions src/Beutl.Api/BeutlApiApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public BeutlApiApplication(HttpClient httpClient)
Assets = new AssetsClient(httpClient) { BaseUrl = BaseUrl };
Discover = new DiscoverClient(httpClient) { BaseUrl = BaseUrl };
Library = new LibraryClient(httpClient) { BaseUrl = BaseUrl };
App = new AppClient(httpClient) { BaseUrl = BaseUrl };

ViewConfig viewConfig = GlobalConfiguration.Instance.ViewConfig;
httpClient.DefaultRequestHeaders.AcceptLanguage.Clear();
Expand All @@ -55,6 +56,8 @@ public BeutlApiApplication(HttpClient httpClient)
public DiscoverClient Discover { get; }

public LibraryClient Library { get; }

public AppClient App { get; }

public IReadOnlyReactiveProperty<AuthorizedUser?> AuthorizedUser => _authorizedUser;

Expand Down
Loading

0 comments on commit 40c65ec

Please sign in to comment.