Skip to content

Commit

Permalink
update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
insomniachi committed Jul 15, 2023
1 parent 7e49ed1 commit e528007
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 3 additions & 1 deletion Totoro.Core.Tests/Builders/DiscoverViewModelBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ internal class DiscoverViewModelBuilder
private Mock<ISchedulerProvider> _schedulerProvider;
private readonly Mock<IPluginFactory<AnimeProvider>> _providerFactoryMock = new();
private readonly Mock<ISettings> _settingsMock = new();
private readonly Mock<IConnectivityService> _connectivityServiceMock = new();


internal DiscoverViewModel Build()
{
return new DiscoverViewModel(_providerFactoryMock.Object,
_settingsMock.Object,
_navigationServiceMock.Object);
_navigationServiceMock.Object,
_connectivityServiceMock.Object);
}

internal DiscoverViewModelBuilder WithSettings(Action<Mock<ISettings>> configure)
Expand Down
4 changes: 3 additions & 1 deletion Totoro.Core.Tests/Builders/UserListViewModelBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ internal class UserListViewModelBuilder
private readonly Mock<ITrackingServiceContext> _trackingServiceMock = new();
private readonly Mock<IAnimeServiceContext> _animeServiceMock = new();
private readonly Mock<IViewService> _viewServiceMock = new();
private readonly Mock<IConnectivityService> _connectivityServiceMock = new();

internal UserListViewModel Build()
{
return new UserListViewModel(_trackingServiceMock.Object,
_animeServiceMock.Object,
_viewServiceMock.Object);
_viewServiceMock.Object,
_connectivityServiceMock.Object);
}

internal UserListViewModelBuilder WithTrackingService(Action<Mock<ITrackingServiceContext>> configure)
Expand Down
4 changes: 2 additions & 2 deletions Totoro.Plugins/Totoro.Plugins.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<ItemGroup>
<PackageReference Include="Flurl.Http" Version="3.2.4" />
<PackageReference Include="FlurlGraphQL.Querying" Version="1.2.0" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.46" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.49" />
<PackageReference Include="HtmlAgilityPack.CssSelectors.NetCore" Version="1.2.1" />
<PackageReference Include="ReactiveUI.Fody" Version="18.4.44" />
<PackageReference Include="ReactiveUI.Fody" Version="19.4.1" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Totoro.WinUI/Totoro.GUI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Totoro.Plugins.MediaDetecti
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Media Detection", "Media Detection", "{046D778E-C7B5-4086-A056-F0526C7C3A96}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Totoro.Plugins.MediaDetection.Win11MediaPlayer", "..\Totoro.Plugins.MediaDetection.Win11MediaPlayer\Totoro.Plugins.MediaDetection.Win11MediaPlayer.csproj", "{5117D9CF-5D78-459F-9546-113BCEDD79B8}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Totoro.Plugins.MediaDetection.Win11MediaPlayer", "..\Totoro.Plugins.MediaDetection.Win11MediaPlayer\Totoro.Plugins.MediaDetection.Win11MediaPlayer.csproj", "{5117D9CF-5D78-459F-9546-113BCEDD79B8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Totoro.Plugins.MediaDetection.Generic", "..\Totoro.Plugins.MediaDetection.Mpv\Totoro.Plugins.MediaDetection.Generic.csproj", "{A2856FA8-E5E3-469D-997B-CC50E6B4BC07}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Totoro.Plugins.MediaDetection.Generic", "..\Totoro.Plugins.MediaDetection.Mpv\Totoro.Plugins.MediaDetection.Generic.csproj", "{A2856FA8-E5E3-469D-997B-CC50E6B4BC07}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
6 changes: 3 additions & 3 deletions Totoro.WinUI/Views/SettingsSections/PreferencesSection.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<labs:SettingsCard Description="Run application on system start" Header="Run on Startup">
<labs:SettingsCard.HeaderIcon>
<FontIcon Glyph="&#xE9F5;" />
<FontIcon Glyph="&#xEC4A;" />
</labs:SettingsCard.HeaderIcon>
<ToggleSwitch
IsOn="{x:Bind ViewModel.Settings.StartupOptions.RunOnStartup, Mode=TwoWay}"
Expand All @@ -55,7 +55,7 @@

<labs:SettingsCard Description="Start application minimized to tray" Header="Start Minimized">
<labs:SettingsCard.HeaderIcon>
<FontIcon Glyph="&#xE9F5;" />
<FontIcon Glyph="&#xEE47;" />
</labs:SettingsCard.HeaderIcon>
<ToggleSwitch
IsOn="{x:Bind ViewModel.Settings.StartupOptions.StartMinimizedToTray, Mode=TwoWay}"
Expand All @@ -65,7 +65,7 @@

<labs:SettingsCard Description="When closing application, minimize to system tray" Header="Close to Tray">
<labs:SettingsCard.HeaderIcon>
<FontIcon Glyph="&#xE9F5;" />
<FontIcon Glyph="&#xE770;" />
</labs:SettingsCard.HeaderIcon>
<ToggleSwitch
IsOn="{x:Bind ViewModel.Settings.StartupOptions.MinimizeToTrayOnClose, Mode=TwoWay}"
Expand Down

0 comments on commit e528007

Please sign in to comment.