@@ -25,7 +25,7 @@ namespace KeyAsio.Shared.Realtime;
2525
2626public class RealtimeModeManager : ViewModelBase
2727{
28- private static readonly string [ ] SkinAudioFiles = { "combobreak" } ;
28+ private static readonly string [ ] SkinAudioFiles = [ "combobreak" ] ;
2929
3030 public static RealtimeModeManager Instance { get ; } = new ( ) ;
3131 private static readonly ILogger Logger = LogUtils . GetLogger ( nameof ( RealtimeModeManager ) ) ;
@@ -183,7 +183,7 @@ public OsuMemoryStatus OsuStatus
183183 }
184184 }
185185
186- public OsuFile ? OsuFile { get ; /*private*/ set ; }
186+ public OsuFile ? OsuFile { get ; internal set ; }
187187
188188 public string ? AudioFilename { get ; set ; }
189189
@@ -205,8 +205,6 @@ public bool IsStarted
205205 set { lock ( _isStartedLock ) { SetField ( ref _isStarted , value ) ; } }
206206 }
207207
208- //public OsuListenerManager? OsuListenerManager { get; set; }
209-
210208 public AppSettings AppSettings => ConfigurationFactory . GetConfiguration < AppSettings > ( ) ;
211209
212210 public IReadOnlyList < HitsoundNode > PlaybackList => _playbackList ;
@@ -667,7 +665,7 @@ private void OnBeatmapChanged(BeatmapIdentifier beatmap)
667665 if ( OsuStatus is OsuMemoryStatus . SongSelect or OsuMemoryStatus . SongSelectEdit or
668666 OsuMemoryStatus . MainMenu && beatmap != default )
669667 {
670- var coosu = OsuFile . ReadFromFile ( Beatmap . FilenameFull , k =>
668+ var coosu = OsuFile . ReadFromFile ( beatmap . FilenameFull , k =>
671669 {
672670 k . IncludeSection ( "General" ) ;
673671 k . IncludeSection ( "Metadata" ) ;
0 commit comments