Archived
1

Fix inline keyboard rows changing over time in /reminders and /pokedeks

Now all buttons are the same place every time.
This commit is contained in:
2018-05-02 06:39:33 +04:00
parent 73ae8c238e
commit ef9cf07abc
2 changed files with 5 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ func (r *Reminder) formatRemindersButtons(playerRaw *dbmapping.Player) tgbotapi.
}
}
for i := range rows {
for i := 0; i <= 2; i++ {
keyboard.InlineKeyboard = append(keyboard.InlineKeyboard, rows[i])
}