By default, swiping notifications away shouldn't mark buffers as read
In brief
- Swiping notifications away shouldn't mark buffers as read
- Toggle
preference_notification_mark_read_on_swipe_key
to default tofalse
- Matches behavior of e.g. Messaging from LOS/AOSP, QkSMS, etc, requiring pressing
Mark read
to explicitly clear
- Toggle
Rationale
When using Quasseldroid on mobile, one may want to acknowledge they received a message or highlight, but leave it marked unread for later reference on desktop.
In some Android apps, swiping away a notification doesn't clear the unread status within the conversation of the app itself.
Additional
How do other messaging apps behave?
Does anyone have different opinions on this? I'm asking this to see what's a reasonable default; it can always be changed.
Code change
app/src/main/res/xml/preferences.xml
<SwitchPreference
- android:defaultValue="true"
+ android:defaultValue="false"
android:key="@string/preference_notification_mark_read_on_swipe_key"
android:summary="@string/preference_notification_mark_read_on_swipe_summary"
android:title="@string/preference_notification_mark_read_on_swipe_title" />