From 1d3110228d6930f97f238f59567322d58c7abc46 Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Fri, 24 May 2024 18:24:59 +0400
Subject: [PATCH] Fix phrase in factcheck toast.

---
 Telegram/SourceFiles/data/components/factchecks.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Telegram/SourceFiles/data/components/factchecks.cpp b/Telegram/SourceFiles/data/components/factchecks.cpp
index d068f8146..77251925e 100644
--- a/Telegram/SourceFiles/data/components/factchecks.cpp
+++ b/Telegram/SourceFiles/data/components/factchecks.cpp
@@ -207,9 +207,9 @@ void Factchecks::save(
 	save(itemId, std::move(text), [=](QString error) {
 		show->showToast(!error.isEmpty()
 			? error
-			: wasEmpty
-			? tr::lng_factcheck_remove_done(tr::now)
 			: textEmpty
+			? tr::lng_factcheck_remove_done(tr::now)
+			: wasEmpty
 			? tr::lng_factcheck_add_done(tr::now)
 			: tr::lng_factcheck_edit_done(tr::now));
 	});