Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
#22 不要になったメソッドを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
miyaji255 committed Feb 22, 2024
1 parent 6b415d4 commit 65b28f4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions KoeBook/ViewModels/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ public SettingsViewModel(IThemeSelectorService themeSelectorService, ILocalSetti
_versionDescription = GetVersionDescription();
}

[RelayCommand]
private async Task SwitchThemeAsync(ElementTheme param)
{
if (ElementTheme != param)
{
ElementTheme = param;
await _themeSelectorService.SetThemeAsync(param);
}
}

public async void OnThemeChangedAsync(object _, SelectionChangedEventArgs __)
{
await _themeSelectorService.SetThemeAsync(ElementTheme);
Expand Down

0 comments on commit 65b28f4

Please sign in to comment.