aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2015-12-16 21:55:02 +0100
committersteckbrief <steckbrief@chefmail.de>2015-12-16 21:55:02 +0100
commit4f0061293e1d8e90d2828deeb6b72d8a2c8bd509 (patch)
treea365b75f1d8cd49639b0e6b597aeb48ea82b1773 /src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
parentf49b979cbe96a81c7f20f209bec7e5a1c9f3c24f (diff)
parentc26335f3e366110366eb89025a42875bcb7840a9 (diff)
Merge remote-tracking branch 'remotes/origin/trz/rename' into trz/rebase
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java b/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
index b7b7fe47..17829998 100644
--- a/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
+++ b/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
@@ -14,6 +14,14 @@ public class ConversationsPlusPreferences extends Settings {
private static ConversationsPlusPreferences instance;
private final SharedPreferences sharedPreferences;
+ public static String imgTransferFolder() {
+ return getString("img_transfer_folder", getString("app_name", "Conversations+"));
+ }
+
+ public static String fileTransferFolder() {
+ return getString("file_transfer_folder", getString("app_name", "Conversations+"));
+ }
+
public static UserDecision resizePicture() {
return getEnumFromStringPref("resize_picture", UserDecision.ASK);
}