mirror of
https://github.com/yattee/yattee.git
synced 2024-12-15 06:40:32 +05:30
16 lines
676 B
Swift
16 lines
676 B
Swift
import Defaults
|
|
import SwiftyJSON
|
|
|
|
final class SponsorBlockSettingsGroupExporter: SettingsGroupExporter {
|
|
override var globalJSON: JSON {
|
|
[
|
|
"sponsorBlockInstance": Defaults[.sponsorBlockInstance],
|
|
"sponsorBlockCategories": Array(Defaults[.sponsorBlockCategories]),
|
|
"sponsorBlockColors": Defaults[.sponsorBlockColors],
|
|
"sponsorBlockShowTimeWithSkipsRemoved": Defaults[.sponsorBlockShowTimeWithSkipsRemoved],
|
|
"sponsorBlockShowCategoriesInTimeline": Defaults[.sponsorBlockShowCategoriesInTimeline],
|
|
"sponsorBlockShowNoticeAfterSkip": Defaults[.sponsorBlockShowNoticeAfterSkip]
|
|
]
|
|
}
|
|
}
|