Commit Graph
12 Commits
Author SHA1 Message Date
denizk0461 b39aa1f003 Fixed a bug that would cause the tab for a day without canteen offers to not be shown, causing the offers for the next days to be shifted over, thus not showing the offers for the last day that's available online. I know I didn't explain that very well, but it's fixed now anyway, soo (: also made some minor visual adjustments to margins and colours 2023-04-20 21:35:09 +02:00
denizk0461 b5f5e06b7f Changed filter chip colour, but when pressed, the primary colour needs to be changed to a more desaturated tint 2023-04-20 12:19:44 +02:00
denizk0461 de1b5f8005 FILTERING WORKS FINAL 2023-04-20 11:53:14 +02:00
denizk0461 576592f0d0 Filtering fixed, but it still doesn't quite work as I wanted it to. e.g. selecting 'pork' and 'vegan' shows no elements, because of course nothing is both vegan and contains pork, but I wanted it to show options that are either or. Should leave it the way it is? 2023-04-20 10:17:04 +02:00
denizk0461 b9378901f4 Canteen items are now individually clickable to signal that they are separate items; BUG: filtering does not work anymore 2023-04-20 10:05:24 +02:00
denizk0461 5d58d25386 Canteen offers are now grouped; TODO: add a divider to separate different offers. Also, add prices 2023-04-20 08:17:23 +02:00
denizk0461 70a89ac681 Fixed filtering behaviour, since it wouldn't recognise items with two preferences if only one had been selected; added icons for preferences 2023-04-18 21:33:24 +02:00
denizk0461 c4d482f78f FILTERING WORKS 2023-04-18 16:41:01 +02:00
denizk0461 4d9ad39578 Made some improvements to the dietary preference handling, but CanteenOfferPageAdapter.kt still needs some work for the filtering to work properly; it should only filter out elements if they meet NO preferences! 2023-04-18 15:39:49 +02:00
denizk0461 c385da4287 Implemented chips for selecting dietary preferences 2023-04-18 10:25:45 +02:00
denizk0461 61822f1f45 Canteen content can now be displayed 2023-04-16 21:41:46 +02:00
denizk0461 5543eb4e32 Implemented canteen scraper/parser functionality 2023-04-16 18:19:06 +02:00