minor formatting update

This commit is contained in:
tibbi 2017-01-03 19:19:01 +01:00
parent f0c86f4f51
commit d181d8933e

View File

@ -35,13 +35,15 @@ public class Config {
return mPrefs.getInt(Constants.BRUSH_COLOR_KEY, Color.BLACK); return mPrefs.getInt(Constants.BRUSH_COLOR_KEY, Color.BLACK);
} }
public void setBrushColor(int color){ public void setBrushColor(int color) {
mPrefs.edit().putInt(Constants.BRUSH_COLOR_KEY, color).apply(); mPrefs.edit().putInt(Constants.BRUSH_COLOR_KEY, color).apply();
} }
public int getBackgroundColor() { return mPrefs.getInt(Constants.BACKGROUND_COLOR_KEY, Color.WHITE); } public int getBackgroundColor() {
return mPrefs.getInt(Constants.BACKGROUND_COLOR_KEY, Color.WHITE);
}
public void setBackgroundColor(int color){ public void setBackgroundColor(int color) {
mPrefs.edit().putInt(Constants.BACKGROUND_COLOR_KEY, color).apply(); mPrefs.edit().putInt(Constants.BACKGROUND_COLOR_KEY, color).apply();
} }
} }