Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit aa1a7d9

Browse files
MortimerGorobluemarvin
authored andcommitted
Fix the text/link is wrongly pasted at the end of the URL from the Awesomebar (#2192)
1 parent 71a671a commit aa1a7d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/views/NavigationURLBar.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ private void initialize(Context aContext) {
140140
mBinding.setIsUrlEmpty(isUrlEmpty);
141141
if (!focused) {
142142
hideSelectionMenu();
143-
144143
} else {
145-
mBinding.urlEditText.setSelection(mBinding.urlEditText.length(), 0);
144+
mBinding.urlEditText.selectAll();
146145
}
147146
});
148147

0 commit comments

Comments
 (0)