diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-01-04 08:47:31 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-01-04 08:47:31 +0000 |
commit | 9e062126d824795821ff76c22edbe39f9dbcf5f8 (patch) | |
tree | dd3e2c20a3619a48483dcc0fbb82be807b307a8e /app/src/main/res | |
parent | f2d35eeb18c2dd8a8a56e5e0ea1f39509bcf8231 (diff) | |
download | infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.tar infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.tar.gz infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.tar.bz2 infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.tar.lz infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.tar.xz infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.tar.zst infinity-for-reddit-9e062126d824795821ff76c22edbe39f9dbcf5f8.zip |
Reading all unread messages is now available.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/inbox_activity.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/res/menu/inbox_activity.xml b/app/src/main/res/menu/inbox_activity.xml index f7d06665..c3eb4cc9 100644 --- a/app/src/main/res/menu/inbox_activity.xml +++ b/app/src/main/res/menu/inbox_activity.xml @@ -6,4 +6,10 @@ android:orderInCategory="1" android:title="@string/action_refresh" app:showAsAction="never" /> + + <item + android:id="@+id/action_read_all_messages_inbox_activity" + android:orderInCategory="2" + android:title="@string/action_read_all_messages" + app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8223e5f7..a5aa5353 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -75,6 +75,7 @@ <string name="action_select_user_flair">Select User Flair</string> <string name="action_give_award">Give Award</string> <string name="action_save_to_database">Save to Database</string> + <string name="action_read_all_messages">Read All Messages</string> <string name="parse_json_response_error">Error occurred when parsing the JSON response</string> <string name="retrieve_token_error">Error Retrieving the token</string> @@ -992,5 +993,9 @@ <string name="subreddit">Subreddit</string> <string name="user">User</string> <string name="edit_post_filter_name_of_usage_info">Leave it blank to apply this post filter to all the subreddits / users / multireddits</string> + + <string name="read_all_messages_time_limit">You are doing this too frequently. Try again later. This is Reddit API\'s rate limit.</string> + <string name="read_all_messages_success">Read all messages successfully</string> + <string name="read_all_messages_failed">Unable to read all messages</string> </resources> |