Consistent font on mailcount

This commit is contained in:
wish 2019-03-04 14:28:00 +11:00 committed by Luca Capezzuto
parent 720b5c8dda
commit 55d7c68bc3
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ theme.mail = lain.widget.imap({
password = "keyring get mail", password = "keyring get mail",
settings = function() settings = function()
if mailcount > 0 then if mailcount > 0 then
widget:set_text(" " .. mailcount .. " ") widget:set_markup(markup.font(theme.font, " " .. mailcount .. " "))
mailicon:set_image(theme.widget_mail_on) mailicon:set_image(theme.widget_mail_on)
else else
widget:set_text("") widget:set_text("")