mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-10-11 10:11:48 +00:00
hide caption setting on platforms without support
This commit is contained in:
committed by
Aayush Gupta
parent
800d175aa2
commit
8d994b27d7
@@ -9,6 +9,9 @@ import org.koin.core.annotation.Singleton
|
||||
|
||||
@Singleton(binds = [AppearanceActions::class])
|
||||
class JVMAppearanceActions : AppearanceActions {
|
||||
|
||||
override fun isCaptionSettingsAvailable() = false
|
||||
|
||||
override fun openCaptionSettings() = Unit
|
||||
|
||||
override fun applyThemeChange(theme: String) = Unit
|
||||
|
||||
Reference in New Issue
Block a user