-
Notifications
You must be signed in to change notification settings - Fork 11
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
14 changed files
with
112 additions
and
100 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
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
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
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
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
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
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
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
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
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
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
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
28 changes: 28 additions & 0 deletions
28
FlowCrypt/src/main/java/com/flowcrypt/email/util/PreferencesKeys.kt
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* © 2016-present FlowCrypt a.s. Limitations apply. Contact [email protected] | ||
* Contributors: denbond7 | ||
*/ | ||
|
||
package com.flowcrypt.email.util | ||
|
||
import androidx.datastore.preferences.core.booleanPreferencesKey | ||
import androidx.datastore.preferences.core.intPreferencesKey | ||
import androidx.datastore.preferences.core.stringPreferencesKey | ||
import com.flowcrypt.email.Constants | ||
|
||
/** | ||
* @author Denys Bondarenko | ||
*/ | ||
object PreferencesKeys { | ||
val KEY_LAST_ATT_ORDER_ID = intPreferencesKey(Constants.PREF_KEY_LAST_ATT_ORDER_ID) | ||
val KEY_IS_CHECK_KEYS_NEEDED = booleanPreferencesKey(Constants.PREF_KEY_IS_CHECK_KEYS_NEEDED) | ||
val KEY_IS_DETECT_MEMORY_LEAK_ENABLED = | ||
booleanPreferencesKey(Constants.PREF_KEY_IS_DETECT_MEMORY_LEAK_ENABLED) | ||
val KEY_IS_ACRA_ENABLED = booleanPreferencesKey(Constants.PREF_KEY_IS_ACRA_ENABLED) | ||
val KEY_IS_MAIL_DEBUG_ENABLED = booleanPreferencesKey(Constants.PREF_KEY_IS_MAIL_DEBUG_ENABLED) | ||
val KEY_IS_HTTP_LOG_ENABLED = booleanPreferencesKey(Constants.PREF_KEY_IS_HTTP_LOG_ENABLED) | ||
val KEY_IS_WRITE_LOGS_TO_FILE_ENABLED = | ||
booleanPreferencesKey(Constants.PREF_KEY_IS_WRITE_LOGS_TO_FILE_ENABLED) | ||
val KEY_TEMP_LAST_AUTH_CREDENTIALS = | ||
stringPreferencesKey(Constants.PREF_KEY_TEMP_LAST_AUTH_CREDENTIALS) | ||
} |
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