|
@@ -69,19 +69,19 @@ fun Notifications(navHostController: NavHostController) {
|
|
|
) {
|
|
|
val notifications = notificationViewModel.liveDataNotification.observeAsState().value
|
|
|
|
|
|
- notifications?.heading?.let {
|
|
|
- Text(
|
|
|
- text = it,
|
|
|
- color = MaterialTheme.colorScheme.primary,
|
|
|
- style = MaterialTheme.typography.customTypography2.bodySmall,
|
|
|
- textAlign = TextAlign.Start,
|
|
|
- modifier = Modifier
|
|
|
- .padding(start = 16.dp, top = 5.dp, end = 4.dp)
|
|
|
- .fillMaxWidth(),
|
|
|
- )
|
|
|
- }
|
|
|
-
|
|
|
- Spacer(modifier = Modifier.height(25.dp))
|
|
|
+// notifications?.heading?.let {
|
|
|
+// Text(
|
|
|
+// text = it,
|
|
|
+// color = MaterialTheme.colorScheme.primary,
|
|
|
+// style = MaterialTheme.typography.customTypography2.bodySmall,
|
|
|
+// textAlign = TextAlign.Start,
|
|
|
+// modifier = Modifier
|
|
|
+// .padding(start = 16.dp, top = 5.dp, end = 4.dp)
|
|
|
+// .fillMaxWidth(),
|
|
|
+// )
|
|
|
+// }
|
|
|
+//
|
|
|
+ Spacer(modifier = Modifier.height(10.dp))
|
|
|
|
|
|
LazyColumn() {
|
|
|
notifications?.data?.let {
|