From c1862d736587c9a5c10a368dabaeb72be2df4bcb Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期二, 18 六月 2024 16:26:23 +0800
Subject: [PATCH] fix

---
 DolphinEnglishLearnStudent/Config/Config.swift |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/DolphinEnglishLearnStudent/Config/Config.swift b/DolphinEnglishLearnStudent/Config/Config.swift
index f37c501..11177b3 100644
--- a/DolphinEnglishLearnStudent/Config/Config.swift
+++ b/DolphinEnglishLearnStudent/Config/Config.swift
@@ -118,11 +118,9 @@
 																				self.isUserInteractionEnabled = true
 																});
 												}else {
-																DispatchQueue.main.async(execute: {
-																				self.setTitle("\(time)s", for: .normal)
-																				self.setTitleColor(unenableColor, for: .normal)
-																				self.isUserInteractionEnabled = false
-																});
+																self.setTitle("\(time)s", for: .normal)
+																self.setTitleColor(unenableColor, for: .normal)
+																self.isUserInteractionEnabled = false
 												}
 												time -= 1
 								});

--
Gitblit v1.7.1