mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 10:54:55 +08:00
24 lines
764 B
C#
24 lines
764 B
C#
using BetterLyrics.WinUI3.Models.Settings;
|
|
using BetterLyrics.WinUI3.Services.SettingsService;
|
|
using BetterLyrics.WinUI3.Services.SMTCService;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace BetterLyrics.WinUI3.ViewModels
|
|
{
|
|
public partial class PlayQueueViewModel : BaseViewModel
|
|
{
|
|
private readonly ISettingsService _settingsService;
|
|
|
|
public ISMTCService SMTCService { get; set; }
|
|
|
|
[ObservableProperty] public partial AppSettings AppSettings { get; set; }
|
|
|
|
public PlayQueueViewModel(ISMTCService smtcService, ISettingsService settingsService)
|
|
{
|
|
_settingsService = settingsService;
|
|
SMTCService = smtcService;
|
|
AppSettings = _settingsService.AppSettings;
|
|
}
|
|
}
|
|
}
|