Archived
Added opening hours and a button for the user to view them, but the formatting sucks
This commit is contained in:
@@ -148,4 +148,12 @@ interface AppDAO {
|
||||
* @param item object to be saved to the database
|
||||
*/
|
||||
@Insert fun insert(item: OfferItem)
|
||||
|
||||
/**
|
||||
* Retrieves the opening hours of the canteen as a string.
|
||||
*
|
||||
* @return opening hours
|
||||
*/
|
||||
@Query("SELECT openingHours FROM offer_canteen LIMIT 1")
|
||||
fun getCanteenOpeningHours(): String
|
||||
}
|
||||
Reference in New Issue
Block a user