Fix new custom filter on tablets

pull/253/head 4.7.7
Alex Baker 10 years ago
parent a628ea521f
commit 9f5b5c9f61

@ -5,8 +5,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.tasks"
android:versionName="4.7.6"
android:versionCode="347">
android:versionName="4.7.7"
android:versionCode="348">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> -->

@ -153,7 +153,7 @@ public class CustomFilterActivity extends InjectingActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setupForDialogOrFullscreen();
preferences.applyTheme();
ActionBar ab = getSupportActionBar();
if (ab != null) {
@ -178,14 +178,6 @@ public class CustomFilterActivity extends InjectingActionBarActivity {
setUpListeners();
}
private void setupForDialogOrFullscreen() {
if (preferences.useTabletLayout()) {
preferences.applyDialogTheme();
} else {
preferences.applyTheme();
}
}
/**
* Populate criteria list with built in and plugin criteria. The request is sent to every application
* registered to listen for this broadcast. Each plugin can then add criteria to this activity.

@ -50,10 +50,6 @@ public class ActivityPreferences extends Preferences {
}
}
public void applyDialogTheme() {
applyTheme(R.style.TasksDialog);
}
public void applyTranslucentDialogTheme() {
applyTheme(R.style.ReminderDialog);
}

Loading…
Cancel
Save