Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
electroly committed Nov 24, 2024
1 parent 60c0f7f commit a233595
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 1 addition & 5 deletions src/J.App/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@

namespace J.App;

public sealed class Client(
IHttpClientFactory httpClientFactory,
AccountSettingsProvider accountSettingsProvider,
Preferences preferences
) : IDisposable
public sealed class Client(IHttpClientFactory httpClientFactory, Preferences preferences) : IDisposable
{
private readonly HttpClient _httpClient = httpClientFactory.CreateClient(typeof(Client).FullName!);

Expand Down
1 change: 0 additions & 1 deletion src/J.App/LoginForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public LoginForm(AccountSettingsProvider accountSettingsProvider)

Ui ui = new(this);
Label label;
Control p;

Controls.Add(_formTable = ui.NewTable(2, 2));
{
Expand Down
7 changes: 1 addition & 6 deletions src/J.App/M3u8FolderSync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@

namespace J.App;

public sealed partial class M3u8FolderSync(
AccountSettingsProvider accountSettingsProvider,
LibraryProvider libraryProvider,
Client client,
Preferences preferences
)
public sealed partial class M3u8FolderSync(LibraryProvider libraryProvider, Client client, Preferences preferences)
{
private readonly string _filesystemInvalidChars =
new string(Path.GetInvalidFileNameChars()) + new string(Path.GetInvalidPathChars());
Expand Down

0 comments on commit a233595

Please sign in to comment.