Remove unused method

This commit is contained in:
Moez Bhatti
2016-01-03 20:45:44 -05:00
parent 39d6709abf
commit 2d75fc8e11
3 changed files with 0 additions and 11 deletions
@@ -249,13 +249,6 @@ public class ThemeManager {
initializeTheme(Theme.fromString(mPrefs.getString(SettingsFragment.BACKGROUND, "offwhite")));
}
/**
* Loads all theme properties. Should be called during onCreate
* of each activity that contains fragments that use ThemeManager
*/
public static void themeActivity(QKActivity activity) {
}
public static void setTheme(Theme theme) {
int startColor = mBackgroundColor;
initializeTheme(theme);
@@ -27,7 +27,6 @@ import com.moez.QKSMS.common.LiveViewManager;
import com.moez.QKSMS.common.preferences.QKPreference;
import com.moez.QKSMS.common.utils.ColorUtils;
import com.moez.QKSMS.ui.ThemeManager;
import com.moez.QKSMS.ui.settings.SettingsFragment;
import com.moez.QKSMS.ui.view.QKTextView;
import java.util.ArrayList;
@@ -113,8 +112,6 @@ public abstract class QKActivity extends AppCompatActivity {
}
((QKTextView) findViewById(R.id.toolbar_title)).setTextColor(ThemeManager.getTextOnColorPrimary());
});
ThemeManager.themeActivity(this);
}
protected void showBackButton(boolean show) {
@@ -29,7 +29,6 @@ public abstract class QKPopupActivity extends QKActivity {
setFinishOnTouchOutside(mPrefs.getBoolean(SettingsFragment.QUICKREPLY_TAP_DISMISS, true));
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
setContentView(getLayoutResource());
ThemeManager.themeActivity(this);
((QKLinearLayout) findViewById(R.id.popup)).setBackgroundTint(ThemeManager.getBackgroundColor());