A cheap attempt at a native Bluesky client for Android

TimelineView: wire notification root view

+24 -7
+12
app/src/main/java/industries/geesawra/monarch/NotificationsView.kt
··· 1 + package industries.geesawra.monarch 2 + 3 + import androidx.compose.foundation.layout.Column 4 + import androidx.compose.runtime.Composable 5 + import androidx.compose.ui.Modifier 6 + 7 + @Composable 8 + fun NotificationsView( 9 + modifier: Modifier = Modifier 10 + ) { 11 + Column(modifier = modifier) {} 12 + }
+12 -7
app/src/main/java/industries/geesawra/monarch/TimelineView.kt
··· 1 1 package industries.geesawra.monarch 2 2 3 - // import androidx.compose.foundation.layout.height // Will be removed for the sheet content Box 4 3 import android.widget.Toast 5 4 import androidx.annotation.StringRes 6 5 import androidx.compose.foundation.clickable ··· 283 282 } 284 283 } 285 284 ) { values -> 286 - ShowSkeets( 287 - viewModel = timelineViewModel, 288 - state = listState, 289 - modifier = Modifier.padding(values), 290 - onReplyTap = onReplyTap 291 - ) { isRefreshing.value = false } 285 + when (currentDestination) { 286 + TabBarDestinations.HOME -> ShowSkeets( 287 + viewModel = timelineViewModel, 288 + state = listState, 289 + modifier = Modifier.padding(values), 290 + onReplyTap = onReplyTap 291 + ) { isRefreshing.value = false } 292 + 293 + TabBarDestinations.NOTIFICATIONS -> NotificationsView( 294 + modifier = Modifier.padding(values) 295 + ) 296 + } 292 297 } 293 298 } 294 299 }