mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-30 04:01:02 +00:00
Fix rendering of the rocket ship
This commit is contained in:
parent
f5b44de317
commit
b6b3c30931
1 changed files with 11 additions and 2 deletions
|
@ -37,7 +37,7 @@ struct StatusRowActionsView: View {
|
|||
if dataController.isReblogged {
|
||||
return Image("Rocket.Fill")
|
||||
} else {
|
||||
return Image(systemName: "lock.rotation")
|
||||
return Image(systemName: "lock.rotation")
|
||||
}
|
||||
}
|
||||
return Image(dataController.isReblogged ? "Rocket.Fill" : "Rocket")
|
||||
|
@ -121,7 +121,16 @@ struct StatusRowActionsView: View {
|
|||
Button {
|
||||
handleAction(action: action)
|
||||
} label: {
|
||||
action.image(dataController: statusDataController, privateBoost: privateBoost())
|
||||
if action == .boost {
|
||||
action
|
||||
.image(dataController: statusDataController, privateBoost: privateBoost())
|
||||
.imageScale(.medium)
|
||||
.font(.body)
|
||||
.fontWeight(.black)
|
||||
} else {
|
||||
action
|
||||
.image(dataController: statusDataController, privateBoost: privateBoost())
|
||||
}
|
||||
}
|
||||
.buttonStyle(
|
||||
.statusAction(
|
||||
|
|
Loading…
Reference in a new issue