mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-02-26 08:27:46 +01:00
minor formatting update
This commit is contained in:
parent
f0c86f4f51
commit
d181d8933e
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user