Forgot to add theme support to SearchResults

This commit is contained in:
Daniel Martí 2013-08-23 16:26:02 +02:00
parent 50f0856f67
commit 32ae91eef5

View File

@ -50,6 +50,11 @@ public class SearchResults extends ListActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
if (PreferenceManager.getDefaultSharedPreferences(this)
.getBoolean("lightTheme", false))
setTheme(R.style.AppThemeLight);
super.onCreate(savedInstanceState);
ActionBarCompat.create(this).setDisplayHomeAsUpEnabled(true);
applist = new AvailableAppListAdapter(this);