mirror of
https://github.com/FossifyOrg/Camera.git
synced 2026-06-13 02:26:40 -04:00
add a switch for storing the media in DCIM by default
This commit is contained in:
@@ -30,6 +30,14 @@ public class Config {
|
||||
mPrefs.edit().putBoolean(Constants.IS_DARK_THEME, isDarkTheme).apply();
|
||||
}
|
||||
|
||||
public boolean getUseDCIMFolder() {
|
||||
return mPrefs.getBoolean(Constants.USE_DCIM, true);
|
||||
}
|
||||
|
||||
public void setUseDCIMFolder(boolean useDCIM) {
|
||||
mPrefs.edit().putBoolean(Constants.USE_DCIM, useDCIM).apply();
|
||||
}
|
||||
|
||||
public boolean getFocusBeforeCaptureEnabled() {
|
||||
return mPrefs.getBoolean(Constants.FOCUS_BEFORE_CAPTURE, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user