show profile on main screen

This commit is contained in:
2022-02-03 14:05:42 +01:00
parent d402986dc3
commit da244d1bbe
8 changed files with 55 additions and 7 deletions

View File

@@ -776,4 +776,11 @@ public class Profile implements Comparable<Profile>
return this.oldName;
}
public static Profile getLastActivatedProfile()
{
if(Profile.profileActivationHistory != null && Profile.profileActivationHistory.size() > 0)
return Profile.profileActivationHistory.get(Profile.profileActivationHistory.size() - 1);
else
return null;
}
}