mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 15:13:50 +00:00
Move session restore prompt from message level to conversation level.
This commit is contained in:
@@ -1228,14 +1228,6 @@ public class TextSecurePreferences {
|
||||
public static long getRestorationTime(Context context) {
|
||||
return getLongPreference(context, "restoration_time", 0);
|
||||
}
|
||||
|
||||
public static void setShowingSessionRestorePrompt(Context context, String sender, boolean showingPrompt) {
|
||||
setBooleanPreference(context, sender + "_showing_session_reset", showingPrompt);
|
||||
}
|
||||
|
||||
public static boolean isShowingSessionRestorePrompt(Context context, String sender) {
|
||||
return getBooleanPreference(context, sender + "_showing_session_reset", false);
|
||||
}
|
||||
// endregion
|
||||
|
||||
public static void clearAll(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user