Allow a bit more theme previews.

This commit is contained in:
John Preston
2025-09-02 21:36:08 +04:00
parent d0341d191b
commit 4b2d0d1a67
@@ -1744,6 +1744,7 @@ bool DocumentData::isTheme() const {
|| _filename.endsWith(u".tdesktop-palette"_q, Qt::CaseInsensitive)
|| (hasMimeType(u"application/x-tgtheme-tdesktop"_q)
&& (_filename.isEmpty()
|| !_filename.contains('.')
|| _nameType == Core::NameType::ThemeFile));
}