nächster payday in interaktionsmenü

This commit is contained in:
hydrant
2020-04-13 12:39:38 +02:00
parent b45d2ef728
commit 28033a5175
3 changed files with 8 additions and 2 deletions

View File

@@ -112,6 +112,10 @@ export default function (globalData: IGlobalData) {
menu.BindMenuToItem(paycheckMenu, paycheckItem);
}
var nextPaydayItem = new UIMenuItem("Nächster PayDay");
nextPaydayItem.SetRightLabel(`${accountData.nextPayday} Minuten`);
menu.AddItem(nextPaydayItem);
if (ticket_boolean == true) {
menu.AddItem(ticketItem);
menu.BindMenuToItem(getTicketMenu(ticket_amount, menu), ticketItem);