mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 17:15:16 +00:00
Apply cloud themes.
This commit is contained in:
@@ -318,7 +318,7 @@ void DocumentOpenClickHandler::Open(
|
||||
LaunchWithWarning(location.name(), context);
|
||||
};
|
||||
const auto &location = data->location(true);
|
||||
if (data->isTheme() && !location.isEmpty() && location.accessEnable()) {
|
||||
if (data->isTheme() && data->loaded(DocumentData::FilePathResolve::Checked)) {
|
||||
Core::App().showDocument(data, context);
|
||||
location.accessDisable();
|
||||
} else if (data->canBePlayed()) {
|
||||
|
Reference in New Issue
Block a user