-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
package ir.mahozad.cutcon.model | ||
|
||
import ir.mahozad.cutcon.BuildConfig | ||
|
||
object PreferenceKeys { | ||
const val PREF_THEME = "theme" | ||
const val PREF_LANGUAGE = "language" | ||
const val PREF_CALENDAR = "calendar" | ||
const val PREF_ASPECT_RATIO = "aspect-ratio" | ||
const val PREF_FINISH_SOUND = "finish-sound" | ||
const val PREF_INTERLACED_FIX = "interlaced-fix" | ||
const val PREF_SCREENSHOT_SOUND = "screenshot-sound" | ||
const val PREF_LAST_OPEN_DIRECTORY = "last-open-directory" | ||
const val PREF_LAST_SAVE_DIRECTORY = "last-save-directory" | ||
const val PREF_LAST_SHOWN_CHANGELOG_VERSION = "last-shown-changelog-version" | ||
// The app name has been added as prefix because other apps with same keys will conflict with these | ||
const val PREF_THEME = "${BuildConfig.APP_NAME}-theme" | ||
const val PREF_LANGUAGE = "${BuildConfig.APP_NAME}-language" | ||
const val PREF_CALENDAR = "${BuildConfig.APP_NAME}-calendar" | ||
const val PREF_ASPECT_RATIO = "${BuildConfig.APP_NAME}-aspect-ratio" | ||
const val PREF_FINISH_SOUND = "${BuildConfig.APP_NAME}-finish-sound" | ||
const val PREF_INTERLACED_FIX = "${BuildConfig.APP_NAME}-interlaced-fix" | ||
const val PREF_SCREENSHOT_SOUND = "${BuildConfig.APP_NAME}-screenshot-sound" | ||
const val PREF_LAST_OPEN_DIRECTORY = "${BuildConfig.APP_NAME}-last-open-directory" | ||
const val PREF_LAST_SAVE_DIRECTORY = "${BuildConfig.APP_NAME}-last-save-directory" | ||
const val PREF_LAST_SHOWN_CHANGELOG_VERSION = "${BuildConfig.APP_NAME}-last-shown-changelog-version" | ||
} |