aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAndrei Shpakovskiy <50966785+AndreiShpakovskiy@users.noreply.github.com>2022-08-05 00:55:22 +0000
committerGitHub <noreply@github.com>2022-08-05 00:55:22 +0000
commita18ae7d62e3a5de58adbbefb44e84d80e5c231fc (patch)
treecbecb13021a567e199afd5322487c9b52a4a7715 /app/src
parent926e50090ed39b7683bb6b3155d06883cd30fb98 (diff)
downloadinfinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.tar
infinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.tar.gz
infinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.tar.bz2
infinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.tar.lz
infinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.tar.xz
infinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.tar.zst
infinity-for-reddit-a18ae7d62e3a5de58adbbefb44e84d80e5c231fc.zip
Set default position of cursor at the end of query (#842)
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchActivity.java
index ae5d097d..cf28ff85 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchActivity.java
@@ -395,6 +395,7 @@ public class SearchActivity extends BaseActivity {
if (query != null) {
searchEditText.setText(query);
+ searchEditText.setSelection(query.length());
query = null;
}