Set uicon length to 2 for composite emojis
This commit is contained in:
parent
93b31dabee
commit
df0005ebe2
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ class Account(CustomModel):
|
|||
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
|
||||
name = models.CharField(max_length=64, default=_("Account"), verbose_name=_("Name"))
|
||||
uicon = models.CharField(
|
||||
max_length=1,
|
||||
max_length=2,
|
||||
default="🏦",
|
||||
verbose_name=_("Icon"),
|
||||
)
|
||||
|
@ -97,7 +97,7 @@ class Category(CustomModel):
|
|||
max_length=64, default=_("Category"), verbose_name=_("Name")
|
||||
)
|
||||
uicon = models.CharField(
|
||||
max_length=1,
|
||||
max_length=2,
|
||||
default="📂",
|
||||
verbose_name=_("Icon"),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue