mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 06:13:54 +01:00
* Edited Project.xml to make indent size 4 * Changed files with 2 space indentation to use 4 space indentation * Edited Project.xml to make indent size 4 * changed files with 2 space indent to 4 space indent * fix :Back Pressed Event not work in Explore tab when user not login (#4404) * fix :Back Pressed Event not work in Explore tab * minor changes * fix :Upload count or number of contribution does not get updated when media is successful uploaded (#4399) * * fix:Number of Contributions not updated * Add javadocs * minor changes * made minor changes * String was nonsense and untranslatible, fixed (#4466) * Ability to show captions and descriptions in all entered languages (#4355) * implement Ability to show captions and descriptions in all entered languages *Add Javadoc * handle Back event of fragment(mediaDetailFragment) * fix minor bugs * add internationalization * revert previous changes * fix visibility bug * resolve conflict Co-authored-by: Prince kushwaha <65972015+Prince-kushwaha@users.noreply.github.com> Co-authored-by: neslihanturan <tur.neslihan@gmail.com>
21 lines
475 B
Java
21 lines
475 B
Java
package fr.free.nrw.commons;
|
|
|
|
|
|
import androidx.appcompat.app.ActionBar;
|
|
import org.robolectric.annotation.Implementation;
|
|
import org.robolectric.annotation.Implements;
|
|
|
|
@Implements(ActionBar.class)
|
|
public class ShadowActionBar {
|
|
|
|
private boolean showHomeAsUp;
|
|
|
|
public boolean getShowHomeAsUp() {
|
|
return showHomeAsUp;
|
|
}
|
|
|
|
@Implementation
|
|
void setDisplayHomeAsUpEnabled(final boolean showHomeAsUp) {
|
|
this.showHomeAsUp = showHomeAsUp;
|
|
}
|
|
}
|