A-short-name / G01-Timebanking

0 stars 0 forks source link

Sign out issue on onBack button #44

Closed MattiaRiola closed 2 years ago

MattiaRiola commented 2 years ago

After the signOut the SignIn page is shown, when I press back the app will be closed with this error:

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: it.polito.mad.g01_timebanking, PID: 1107
    java.lang.RuntimeException: Unable to destroy activity {it.polito.mad.g01_timebanking/it.polito.mad.g01_timebanking.MainActivity}: kotlin.UninitializedPropertyAccessException: lateinit property timeslotsBySkillListener has not been initialized
MattiaRiola commented 2 years ago

Se si fa il login con un altro account dopo aver fatto log out si apre la vecchia main activity con l'utente loggato precedentemente

GrayNeel commented 2 years ago

Fixed in fcb5a6b2ad3a52961a5900967b30fd01612f2af0 commit