Added opening hours and a button for the user to view them, but the formatting sucks

This commit is contained in:
denizk0461
2023-04-25 16:55:17 +02:00
parent 6b1d77dfb3
commit 65114264c4
13 changed files with 127 additions and 19 deletions
@@ -14,8 +14,8 @@ import com.denizk0461.studip.databinding.SheetTextBinding
* @param content content text for the window
*/
class TextSheet(
@StringRes private val header: Int,
@StringRes private val content: Int
private val header: String,
private val content: String,
) : AppSheet(R.layout.sheet_text) {
// View binding
@@ -26,8 +26,8 @@ class TextSheet(
// Set text values
binding.apply {
textHeader.text = getString(header)
textContent.text = getString(content)
textHeader.text = header
textContent.text = content
}
}
}