Add explaining comment

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-20 22:57:13 +05:30
parent 0630452571
commit 94ba93acb5

View File

@ -108,6 +108,7 @@ export class SessionLoadViewModel extends ViewModel {
return `Something went wrong: ${error && error.message}.`; return `Something went wrong: ${error && error.message}.`;
} }
// Statuses related to login are handled by respective login view models
if (sc) { if (sc) {
switch (sc.loadStatus.get()) { switch (sc.loadStatus.get()) {
case LoadStatus.SessionSetup: case LoadStatus.SessionSetup: