package com.benny.openlauncher.widget;

import android.content.Context;
import android.support.v7.preference.PreferenceCategory;
import android.support.v7.preference.PreferenceViewHolder;
import android.util.AttributeSet;
import android.widget.TextView;

import com.benny.openlauncher.manager.Setup;

public class ColorPreferenceCategory extends PreferenceCategory {
    public ColorPreferenceCategory(Context context) {
        super(context);
    }

    public ColorPreferenceCategory(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public ColorPreferenceCategory(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    public void onBindViewHolder(PreferenceViewHolder holder) {
        super.onBindViewHolder(holder);
        TextView titleView = (TextView) holder.findViewById(android.R.id.title);
        titleView.setTextColor(Setup.appSettings().getPrimaryColor());
    }
}
@@ -282,21 +282,24 @@
 her.
-manager.Setup
+util.AppSettings
 ;%0A%0Ap
@@ -930,15 +930,9 @@
 lor(
-Setup.a
+A
 ppSe
@@ -937,16 +937,20 @@
 Settings
+.get
 ().getPr

Fix NullPointerException when restoring backup