getResource

open override fun getResource(context: Context): T

Returns the light or dark resource based on SeslMisc.isLightTheme.

Return

resourceLight if light theme is active, otherwise resourceDark.

Parameters

context

Context used for light/dark theme check.