mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Ignore background when checking which theme is used.
This commit is contained in:
@@ -1089,9 +1089,6 @@ void SetupDefaultThemes(not_null<Ui::VerticalLayout*> container) {
|
|||||||
container.get());
|
container.get());
|
||||||
|
|
||||||
const auto chosen = [] {
|
const auto chosen = [] {
|
||||||
if (Window::Theme::IsNonDefaultBackground()) {
|
|
||||||
return Type(-1);
|
|
||||||
}
|
|
||||||
const auto path = Window::Theme::Background()->themeAbsolutePath();
|
const auto path = Window::Theme::Background()->themeAbsolutePath();
|
||||||
for (const auto &scheme : kSchemesList) {
|
for (const auto &scheme : kSchemesList) {
|
||||||
if (path == scheme.path) {
|
if (path == scheme.path) {
|
||||||
|
Reference in New Issue
Block a user