You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, use State pattern to allow you to manage the corresponding state. Instead of write many IF statements you could ask to status itself which is the corresponding state. #2