Closed kethinov closed 5 years ago
Made some improvements:
Still to do:
Okay this is fully working now. The old layout code is in there and technically still works, but it would have to be activated by some sort of preferences system built in the future.
Ah I see, this is designed to fix #44. Awesome!
Just for reference here is before:
and after:
Also several rooms show up as "No preview text" because the last event in the room is not a message. It could be a join event or a change name event or something. You'll probably need some way to go back several events until you find the last message, I assume Riot iOS has some method for this that you could probably borrow.
Edit: Actually no I guess iOS just shows the other types of events
Working on making the chat list look more like iMessage:
I'm new to Swift and I couldn't figure out how to get the last message from the chat or how to fade the text color to make it light gray though. This is as far as I got.
Closes #44