1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 05:16:58 +00:00
This commit is contained in:
Austin Huang 2020-07-28 15:48:17 -04:00
parent 22859094c2
commit 05f332bc07
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -167,7 +167,7 @@ public final class Main extends BaseLanguageActivity {
final String username = cookieModel.getUsername();
if (username != null) {
found = true;
fetchListener.onResult(username);
fetchListener.onResult("@"+username);
}
}
@ -327,7 +327,7 @@ public final class Main extends BaseLanguageActivity {
searchView.setQueryHint(getResources().getString(R.string.action_search));
searchView.setSuggestionsAdapter(suggestionAdapter);
searchView.setOnSearchClickListener(v -> {
searchView.setQuery((cookieModel != null && userQuery.equals(cookieModel.getUsername())) ? "" : userQuery, false);
searchView.setQuery((cookieModel != null && userQuery.equals("@"+cookieModel.getUsername())) ? "" : userQuery, false);
menu.findItem(R.id.action_about).setVisible(false);
menu.findItem(R.id.action_settings).setVisible(false);
menu.findItem(R.id.action_dms).setVisible(false);