*Set a default value of 0 to avoid invisibility, before calling the API.
This commit is contained in:
Ashish 2020-10-27 23:31:22 +05:30 committed by GitHub
parent 3fa391f8ef
commit 39221f5365
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,6 +152,8 @@ public class AchievementsFragment extends CommonsDaggerSupportFragment {
setHasOptionsMenu(true); setHasOptionsMenu(true);
// Set the initial value of WikiData edits to 0
wikidataEditsText.setText("0");
hideLayouts(); hideLayouts();
setWikidataEditCount(); setWikidataEditCount();
setAchievements(); setAchievements();