mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 03:28:52 +01:00
Remove unused method
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user