Commit 8fcba75a authored by Geoffrey Métais's avatar Geoffrey Métais

TV: Fix theme setup

parent 78ec0c3b
...@@ -3,6 +3,7 @@ package org.videolan.vlc.gui; ...@@ -3,6 +3,7 @@ package org.videolan.vlc.gui;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.os.Bundle; import android.os.Bundle;
import org.videolan.vlc.R;
import org.videolan.vlc.util.AndroidDevices; import org.videolan.vlc.util.AndroidDevices;
import org.videolan.vlc.util.Settings; import org.videolan.vlc.util.Settings;
...@@ -24,7 +25,8 @@ public class BaseActivity extends AppCompatActivity { ...@@ -24,7 +25,8 @@ public class BaseActivity extends AppCompatActivity {
private void applyTheme() { private void applyTheme() {
if (AndroidDevices.showTvUi(this)) { if (AndroidDevices.showTvUi(this)) {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.Theme_VLC_Black);
return; return;
} }
if (mSettings.contains("app_theme")) { if (mSettings.contains("app_theme")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment