fix: corrected the layout of buttons in settings and text in main menu

This commit is contained in:
2026-06-25 09:30:41 +03:30
parent 3cd692be0f
commit 3835b002a7
2 changed files with 1 additions and 3 deletions

View File

@@ -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)
} }
} }
} }

View File

@@ -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"},
}, },
{ {