Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5155c10 authored by InfinityDeltaX's avatar InfinityDeltaX
Browse files

Changed the default timestamp delay from 60 minutes to 5.

parent 3ae6840c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ public class MessageListAdapter extends RecyclerCursorAdapter<MessageListViewHol
        } else if (messagesFromDifferentPeople(messageItem, messageItem2)) {
            return true;
        } else {
            int MAX_DURATION = Integer.parseInt(mPrefs.getString(SettingsFragment.SHOW_NEW_TIMESTAMP_DELAY, "60")) * 60 * 1000;
            int MAX_DURATION = Integer.parseInt(mPrefs.getString(SettingsFragment.SHOW_NEW_TIMESTAMP_DELAY, "5")) * 60 * 1000;
            return (messageItem2.mDate - messageItem.mDate >= MAX_DURATION);
        }
    }