mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed processing of error on chart zooming.
This commit is contained in:
parent
ec8c634e9c
commit
b6be799938
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace {
|
||||||
.zoomToken = qs(data.vtoken()).toUtf8(),
|
.zoomToken = qs(data.vtoken()).toUtf8(),
|
||||||
};
|
};
|
||||||
}, [&](const MTPDstatsGraphError &data) {
|
}, [&](const MTPDstatsGraphError &data) {
|
||||||
return Data::StatisticalGraph{ Data::StatisticalChart() };
|
return Data::StatisticalGraph{ .error = qs(data.verror()) };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue