Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Changed default photo save location to "DCIM/Camera" ([#18])

## [1.3.1] - 2025-10-05
### Changed
Expand Down Expand Up @@ -58,6 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release

[#18]: https://github.com/FossifyOrg/Camera/issues/18
[#20]: https://github.com/FossifyOrg/Camera/issues/20
[#97]: https://github.com/FossifyOrg/Camera/issues/97
[#157]: https://github.com/FossifyOrg/Camera/issues/157
Expand Down
5 changes: 2 additions & 3 deletions app/src/main/kotlin/org/fossify/camera/helpers/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ class Config(context: Context) : BaseConfig(context) {
get(): String {
var path = prefs.getString(
SAVE_PHOTOS,
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).toString()
"${Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM)}/Camera"
)
if (!File(path).exists() || !File(path).isDirectory) {
path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM)
.toString()
path = "${Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM)}/Camera"
savePhotosFolder = path
}
return path!!
Expand Down
Loading