mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Switch the main activity to be the LoginActivity
This commit is contained in:
parent
364199dcb2
commit
367228d758
4 changed files with 24 additions and 14 deletions
|
|
@ -166,7 +166,10 @@ public class CommonsApplication extends Application {
|
|||
public MWApi getApi() {
|
||||
return api;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return Accout|null
|
||||
*/
|
||||
public Account getCurrentAccount() {
|
||||
if(currentAccount == null) {
|
||||
AccountManager accountManager = AccountManager.get(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue