mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix crash in subscribe button.
This commit is contained in:
parent
d4a2c4a151
commit
eac13b31f1
1 changed files with 1 additions and 1 deletions
|
@ -1783,7 +1783,7 @@ not_null<Ui::GradientButton*> CreateSubscribeButton(
|
|||
controller = args.controller,
|
||||
computeRef = args.computeRef,
|
||||
computeBotUrl = args.computeBotUrl] {
|
||||
const auto url = computeBotUrl ? QString() : computeBotUrl();
|
||||
const auto url = computeBotUrl ? computeBotUrl() : QString();
|
||||
if (!url.isEmpty()) {
|
||||
const auto local = Core::TryConvertUrlToLocal(url);
|
||||
if (local.isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue