Fix tooltips of device controls panel

This commit is contained in:
DBotThePony 2024-11-16 11:18:35 +07:00
parent acd5c06b7a
commit 08061a69c5
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -588,7 +588,7 @@ class DeviceControls<out S : MatteryScreen<*>>(
}
}
).also {
tooltips.add(TranslatableComponent("otm.gui.sides.item_config"))
it.tooltips.add(TranslatableComponent("otm.gui.sides.item_config"))
})
} else {
itemConfigButton = null
@ -608,7 +608,7 @@ class DeviceControls<out S : MatteryScreen<*>>(
}
}
).also {
tooltips.add(TranslatableComponent("otm.gui.sides.energy_config"))
it.tooltips.add(TranslatableComponent("otm.gui.sides.energy_config"))
})
} else {
energyConfigButton = null
@ -628,7 +628,7 @@ class DeviceControls<out S : MatteryScreen<*>>(
}
}
).also {
tooltips.add(TranslatableComponent("otm.gui.sides.fluid_config"))
it.tooltips.add(TranslatableComponent("otm.gui.sides.fluid_config"))
})
} else {
fluidConfigButton = null