From 6475dd3f05e7f02de7353315ea7db2ef3a875214 Mon Sep 17 00:00:00 2001 From: Abhishek <52370265+abhishekabhi789@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:59:40 +0530 Subject: Added a button to clear all recent searches. (#1487) * Added a button to clear all recent searches. - Deletes all the searches for the current user from the database. - Delete icon placed at the end of subreddit name layout in the activity search layout(I couldn't find a better place for it). _Icon visible only when there are recent searches. * Confirmation dialog shows when clearing all search history. --- app/src/main/res/values/strings.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/src/main/res/values/strings.xml') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0b5bdac1..1cf7ff8a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -261,6 +261,9 @@ Search in All subreddits + Confirm + Are you sure you want to delete all recent search queries? + Best Hot New -- cgit v1.2.3