`Day 82` - _*issue (solved)* - If logged into anot...
# 100daysofkotlin-2021
b
Day 82
issue (solved) - If logged into another account immediately after signing out of previous, it will load 0-all notes from previous account. Coroutine issue here. See thread for fix Difficult to pinpoint, and wasn't able to replicate it after applying fix in threadMoved authentication from LaunchedEffect (updated whenever username changed) directly to signout function. • Started UI cleanup ◦ Body is now viewed in Markdown text ◦ Drew out a few designs for detail screen • Created discussion branch with project goals.
Self-Comment
• Spent about an hour or so today and many hours over the past week trying to fix this issue. I had previously authenticated user during register/login process, but didn't clear it immediately on logout and let the refresh take care of it. This caused the overlap in data. I assumed I had already implemented this. Silly mistake I overlooked • Going with UI cleanup next now that I've implemented the login functionality & fixed the majority of the visible bugs ◦ After trying to come up with a good detail screen design, I decided to keep it simple and only show the Summary & body content for now. With the body being displayed in Markdown for an overall improvement. I'll remove the symbol bar that was causing some issues in the body textfield on the NoteAddScreen as well since I've implemented Markdown. • Holding off on adding functionality to add Users. I'm unsure on how long that will take as I want to make it presentable on my portfolio & UI design will have more of an effect than a "friends" feature.