|
|
|
@ -45,7 +45,6 @@ import org.videolan.resources.* |
|
|
|
import org.videolan.tools.BitmapCache |
|
|
|
import org.videolan.tools.Settings |
|
|
|
import org.videolan.tools.putSingle |
|
|
|
import org.videolan.vlc.BuildConfig |
|
|
|
import org.videolan.vlc.MediaParsingService |
|
|
|
import org.videolan.vlc.R |
|
|
|
import org.videolan.vlc.gui.DebugLogActivity |
|
|
|
@ -71,7 +70,6 @@ class PreferencesAdvanced : BasePreferenceFragment(), SharedPreferences.OnShared |
|
|
|
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) { |
|
|
|
super.onCreate(savedInstanceState) |
|
|
|
if (BuildConfig.DEBUG) findPreference<Preference>("debug_logs")?.isVisible = false |
|
|
|
if (FeatureFlag.values().isNotEmpty()) findPreference<Preference>("optional_features")?.isVisible = true |
|
|
|
} |
|
|
|
|
|
|
|
|