Create strings will be written on tabs for contributions and nearby

This commit is contained in:
neslihanturan 2018-09-06 14:37:18 +03:00
parent 7540e0379e
commit 44b49d3336
2 changed files with 4 additions and 3 deletions

View file

@ -53,8 +53,6 @@ public class ContributionsActivity
initDrawer();
setTitle(getString(R.string.navigation_item_home)); // Should I create a new string variable with another name instead?
//prepareForContributions();
//prepareForNearby();
// Add tabs and fragments after Auth cookie received
}
@ -83,7 +81,7 @@ public class ContributionsActivity
//contributionsFragment = ((NewContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION));
if (uploadServiceIntent != null) { // If auth cookie already acquired
((NewContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION)).onAuthCookieAcquired(uploadServiceIntent);
// TODO Neslihan ((ContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION)).onAuthCookieAcquired(uploadServiceIntent);
}
//nearbyFragment = ((NewNearbyFragment)contributionsActivityPagerAdapter.getItem(NEARBY_TAB_POSITION));

View file

@ -352,4 +352,7 @@
<string name="images_reverted_explanation">The percentage of images you have uploaded to Commons that were not deleted</string>
<string name="images_used_explanation">The number of images you have uploaded to Commons that were used in Wikimedia articles</string>
<string name="notifications_channel_name_all">Commons Notification</string>
<string name="contributions_fragment">Contributions</string>
<string name="nearby_fragment">Nearby</string>
</resources>