mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Ignore background when checking which theme is used.
This commit is contained in:
parent
bc63d9fe53
commit
1e3b72ab74
1 changed files with 0 additions and 3 deletions
|
@ -1089,9 +1089,6 @@ void SetupDefaultThemes(not_null<Ui::VerticalLayout*> container) {
|
|||
container.get());
|
||||
|
||||
const auto chosen = [] {
|
||||
if (Window::Theme::IsNonDefaultBackground()) {
|
||||
return Type(-1);
|
||||
}
|
||||
const auto path = Window::Theme::Background()->themeAbsolutePath();
|
||||
for (const auto &scheme : kSchemesList) {
|
||||
if (path == scheme.path) {
|
||||
|
|
Loading…
Add table
Reference in a new issue