@@ -20,6 +20,7 @@ public sealed class SettingsService : ISettingsService
20
20
private const string PlayerSeekGestureKey = "Player/Gesture/Seek" ;
21
21
private const string PlayerTapGestureKey = "Player/Gesture/Tap" ;
22
22
private const string PlayerShowControlsKey = "Player/ShowControls" ;
23
+ private const string PlayerControlsHideDelayKey = "Player/ControlsHideDelay" ;
23
24
private const string PlayerLivelyPathKey = "Player/Lively/Path" ;
24
25
private const string LibrariesUseIndexerKey = "Libraries/UseIndexer" ;
25
26
private const string LibrariesSearchRemovableStorageKey = "Libraries/SearchRemovableStorage" ;
@@ -114,6 +115,12 @@ public bool PlayerShowControls
114
115
set => SetValue ( PlayerShowControlsKey , value ) ;
115
116
}
116
117
118
+ public int PlayerControlsHideDelay
119
+ {
120
+ get => GetValue < int > ( PlayerControlsHideDelayKey ) ;
121
+ set => SetValue ( PlayerControlsHideDelayKey , value ) ;
122
+ }
123
+
117
124
public bool SearchRemovableStorage
118
125
{
119
126
get => GetValue < bool > ( LibrariesSearchRemovableStorageKey ) ;
@@ -169,6 +176,7 @@ public SettingsService()
169
176
SetDefault ( PlayerSeekGestureKey , true ) ;
170
177
SetDefault ( PlayerTapGestureKey , true ) ;
171
178
SetDefault ( PlayerShowControlsKey , true ) ;
179
+ SetDefault ( PlayerControlsHideDelayKey , 3 ) ;
172
180
SetDefault ( PersistentVolumeKey , 100 ) ;
173
181
SetDefault ( MaxVolumeKey , 100 ) ;
174
182
SetDefault ( LibrariesUseIndexerKey , true ) ;
0 commit comments