Bug Fixes
This commit is contained in:
@@ -189,7 +189,6 @@ public class MainActivity extends AppCompatActivity
|
|||||||
this.getGoogleAuth().deleteLoginState(credentials.getUsername(), credentials.getPassword());
|
this.getGoogleAuth().deleteLoginState(credentials.getUsername(), credentials.getPassword());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.toLogoutState();
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -425,7 +424,7 @@ public class MainActivity extends AppCompatActivity
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void afterAnyMenuInflate(boolean isLoggedIn, Runnable done) {
|
private void afterAnyMenuInflate(boolean isLoggedIn, Runnable done) {
|
||||||
int MAX_COUNT = 2;
|
int MAX_COUNT = isLoggedIn ? 2 : 1;
|
||||||
final int[] count = {0};
|
final int[] count = {0};
|
||||||
if (isLoggedIn) {
|
if (isLoggedIn) {
|
||||||
getKVV().modules().list().recv(success -> {
|
getKVV().modules().list().recv(success -> {
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
package de.sebse.fuplanner.services.KVV.types;
|
package de.sebse.fuplanner.services.KVV.types;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import de.sebse.fuplanner.tools.Regex;
|
import de.sebse.fuplanner.tools.Regex;
|
||||||
|
|
||||||
public class Semester {
|
public class Semester implements Serializable {
|
||||||
public static final int SEM_WS = 1;
|
public static final int SEM_WS = 1;
|
||||||
public static final int SEM_SS = 2;
|
public static final int SEM_SS = 2;
|
||||||
private int type;
|
private int type;
|
||||||
|
|||||||
Reference in New Issue
Block a user