mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Allow a bit more theme previews.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user