fix: corrected the layout of buttons in settings and text in main menu
This commit is contained in:
@@ -73,7 +73,7 @@ func (h *Handler) buildStatusText(chatID int64) string {
|
|||||||
text += fmt.Sprintf("\nLevel: %d | XP: %d", stats.Level, stats.XP)
|
text += fmt.Sprintf("\nLevel: %d | XP: %d", stats.Level, stats.XP)
|
||||||
rankText := h.buildLeagueRankText(user.ID)
|
rankText := h.buildLeagueRankText(user.ID)
|
||||||
if rankText != "" {
|
if rankText != "" {
|
||||||
text += fmt.Sprintf(" | %s", rankText)
|
text += fmt.Sprintf("\n %s", rankText)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,8 +212,6 @@ func (h *Handler) buildSettingsKeyboard(user *db.User, st *db.UserSettings, brea
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
{Text: fmt.Sprintf("RPG: %s", rpgStatus), CallbackData: "rpgtoggle"},
|
{Text: fmt.Sprintf("RPG: %s", rpgStatus), CallbackData: "rpgtoggle"},
|
||||||
},
|
|
||||||
{
|
|
||||||
{Text: fmt.Sprintf("League: %s", leagueStatus), CallbackData: "leaguetoggle"},
|
{Text: fmt.Sprintf("League: %s", leagueStatus), CallbackData: "leaguetoggle"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user