Switch the main activity to be the LoginActivity

This commit is contained in:
addshore 2017-05-15 16:34:54 +02:00
parent 364199dcb2
commit 367228d758
4 changed files with 24 additions and 14 deletions

View file

@ -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);