|
|
@@ -37,6 +37,7 @@ public class LifeplusPreferences {
|
|
|
private final static String PUSH_MESSAGES = "push_messages";
|
|
|
private final static String FIRST_PERMISSION = "first_permission";
|
|
|
private final static String FIRST_DIALOG = "first_dialog";
|
|
|
+ private final static String EMAIL = "email";
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -302,6 +303,19 @@ public class LifeplusPreferences {
|
|
|
return preferences.get(FIRST_DIALOG, false);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 사용자 이메일
|
|
|
+ *
|
|
|
+ * @param email
|
|
|
+ */
|
|
|
+ public void setUserEmail(String email) {
|
|
|
+ preferences.put(EMAIL, email);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUserEmail() {
|
|
|
+ return preferences.get(EMAIL, "");
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 설정 리셋
|
|
|
* - 리셋이 필요한 값은 여기에 추가
|
|
|
@@ -318,6 +332,7 @@ public class LifeplusPreferences {
|
|
|
setPushMessages("");
|
|
|
setTagLatestList("");
|
|
|
setUserId("");
|
|
|
+ setUserEmail("");
|
|
|
}
|
|
|
|
|
|
/**
|