mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 22:00:31 +05:30
22 lines
871 B
Swift
22 lines
871 B
Swift
|
import Defaults
|
||
|
import SwiftyJSON
|
||
|
|
||
|
final class HistorySettingsGroupExporter: SettingsGroupExporter {
|
||
|
override var globalJSON: JSON {
|
||
|
[
|
||
|
"saveRecents": Defaults[.saveRecents],
|
||
|
"saveHistory": Defaults[.saveHistory],
|
||
|
"showWatchingProgress": Defaults[.showWatchingProgress],
|
||
|
"saveLastPlayed": Defaults[.saveLastPlayed],
|
||
|
|
||
|
"watchedVideoPlayNowBehavior": Defaults[.watchedVideoPlayNowBehavior].rawValue,
|
||
|
"watchedThreshold": Defaults[.watchedThreshold],
|
||
|
"resetWatchedStatusOnPlaying": Defaults[.resetWatchedStatusOnPlaying],
|
||
|
|
||
|
"watchedVideoStyle": Defaults[.watchedVideoStyle].rawValue,
|
||
|
"watchedVideoBadgeColor": Defaults[.watchedVideoBadgeColor].rawValue,
|
||
|
"showToggleWatchedStatusButton": Defaults[.showToggleWatchedStatusButton]
|
||
|
]
|
||
|
}
|
||
|
}
|