Remove unnecessary version check

This commit is contained in:
heckler01 2018-04-11 20:50:03 -04:00 committed by ydinath
parent b3d8a4c69f
commit 4c014bd3e3
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@ public class AboutActivity extends AppCompatActivity {
webview = (WebView) findViewById(R.id.webvAbout);
webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
if (UserPreferences.getTheme() == R.style.Theme_AntennaPod_Dark) {
if (Build.VERSION.SDK_INT >= 11
&& Build.VERSION.SDK_INT <= Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
webview.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
}
webview.setBackgroundColor(Color.TRANSPARENT);