feat: Display compose button when viewing favorites list (#276)

Display the "compose" FAB when viewing the favourite list. 

Fixes #229
This commit is contained in:
sanao 2023-11-23 19:32:08 +09:00 committed by GitHub
parent 4992aa9c52
commit 06f2fa27e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -121,6 +121,12 @@ class StatusListActivity : BottomSheetActivity(), AppBarLayoutHost, ActionButton
), ),
) )
} }
is TimelineKind.Favourites -> {
ComposeActivity.startIntent(
this,
ComposeActivity.ComposeOptions(),
)
}
else -> null else -> null
} }