mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-23 00:40:59 +00:00
Always show buttons on focus status (#1015)
I think it's helpful to have the buttons and their numeric badges visible when showing a status detail view for the focused status, even if the user has opted to hide them in timeline display settings. Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
This commit is contained in:
parent
0831d64865
commit
bdf5d3c783
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ public struct StatusRowView: View {
|
|||
.accessibilityAction {
|
||||
viewModel.navigateToDetail()
|
||||
}
|
||||
if viewModel.showActions, theme.statusActionsDisplay != .none, !isInCaptureMode {
|
||||
if viewModel.showActions, (viewModel.isFocused || theme.statusActionsDisplay != .none), !isInCaptureMode {
|
||||
StatusRowActionsView(viewModel: viewModel)
|
||||
.padding(.top, 8)
|
||||
.tint(viewModel.isFocused ? theme.tintColor : .gray)
|
||||
|
|
|
@ -37,7 +37,7 @@ struct StatusRowActionsView: View {
|
|||
}
|
||||
|
||||
func count(viewModel: StatusRowViewModel, theme: Theme) -> Int? {
|
||||
if theme.statusActionsDisplay == .discret {
|
||||
if theme.statusActionsDisplay == .discret && !viewModel.isFocused {
|
||||
return nil
|
||||
}
|
||||
switch self {
|
||||
|
|
Loading…
Reference in a new issue