All issues

0
Autofix is being processed.
Parentheses in (timestamp.interval.endTime - 1) are unnecessary and can be replaced with: timestamp.interval.endTime - 1. lines of code = 1
                        playerCurrentTime < (timestamp.interval.endTime - 1)
Parentheses in (isOnline(context) && !offline) are unnecessary and can be replaced with: isOnline(context) && !offline. lines of code = 1
        if ((isOnline(context) && !offline) && Discord.token != null && !incognito && rpcenabled) {
Parentheses in (subtitle == null && hasExtSubtitles) are unnecessary and can be replaced with: subtitle == null && hasExtSubtitles. lines of code = 1
        val isDisabled = (subtitle == null && hasExtSubtitles)
Parentheses in (notchHeight + 8.toPx) are unnecessary and can be replaced with: notchHeight + 8.toPx. lines of code = 1
318
                (if (orientation == Configuration.ORIENTATION_LANDSCAPE) 0 else (notchHeight + 8.toPx)).dp
Parentheses in (getCurrentBrightnessValue(this) * 10f) are unnecessary and can be replaced with: getCurrentBrightnessValue(this) * 10f. lines of code = 1
972
            exoBrightness.value = (getCurrentBrightnessValue(this) * 10f)
Very Complex Method complexity = 113
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        ThemeManager(this).applyTheme()
        binding = ActivityExoplayerBinding.inflate(layoutInflater)
Complex Code complexity = 383
Complex Method complexity = 17
    private fun setupSubFormatting(playerView: PlayerView) {
        val primaryColor = PrefManager.getVal<Int>(PrefName.PrimaryColor)

        val secondaryColor = PrefManager.getVal<Int>(PrefName.SecondaryColor)

Complex Method complexity = 18
    private fun updateTimeStamp() {
        if (isInitialized) {
            val playerCurrentTime = exoPlayer.currentPosition / 1000
            currentTimeStamp =
                model.timeStamps.value?.find { timestamp ->
Complex Method complexity = 56
    private fun initPlayer() {
        checkNotch()

        PrefManager.setCustomVal(
            "${media.id}_current_ep",