Jul 02, 2022
So far I’ve created 8 dialogs. They are very similar so I was making new ones by copy & paste an existing dialog.
Today I’ve refactored them by creating a base dialog class and converted all the dialogs to use it.
The amount of code reused is not big but it makes it easier to change the style of dialogs.
I’ve changed the style of the dialogs a bit by adding gray background to the bottom area and adding close button.
The new look: