mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Added javadoc comments to showBlockStatus method
This commit is contained in:
parent
47bffa1b21
commit
db30e03cf2
1 changed files with 4 additions and 0 deletions
|
|
@ -53,6 +53,10 @@ public abstract class AuthenticatedActivity extends NavigationBaseActivity {
|
|||
|
||||
protected abstract void onAuthFailure();
|
||||
|
||||
/**
|
||||
* Makes API call to check if user is blocked. If the user is blocked, a snackbar
|
||||
* is created to notify the user
|
||||
*/
|
||||
protected void showBlockStatus()
|
||||
{
|
||||
Observable.fromCallable(() -> mediaWikiApi.isUserBlocked())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue