pavankataria/SwiftDataTables

Support the dark mode?

yuchung-chuang opened this issue · 1 comments

First of all, thank you for creating such great tool for us.
I'm just wondering if SwiftDataTable is able to support the dark mode? Since when using it in the dark mode, all the text in the table turns to white, while the background of the table doesn't. This makes the content completely unreadable.
I've tried to add some condition like "traitCollection.userInterfaceStyle" in your source code to detect the dark mode, however, I realized that the target of your project is iOS 9, which is not supported this. Perhaps there's some other way to detect dark mode in iOS 9? Or would you mind to upgrade the target to iOS 13?

just found out that @Anonym0uz has created a pull request which solved this issue