From 098425004b5e619359c33552e35c11f298ea2373 Mon Sep 17 00:00:00 2001 From: ljk Date: Fri, 19 Jan 2024 20:13:20 +0800 Subject: [PATCH] make the rawValue of TTSServiceType equivalent to ServiceType --- Easydict/NewApp/Model/TTSServiceType.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Easydict/NewApp/Model/TTSServiceType.swift b/Easydict/NewApp/Model/TTSServiceType.swift index c28ef5938..a32efbe17 100644 --- a/Easydict/NewApp/Model/TTSServiceType.swift +++ b/Easydict/NewApp/Model/TTSServiceType.swift @@ -10,11 +10,11 @@ import Defaults import Foundation enum TTSServiceType: String, CaseIterable { - case youdao - case bing - case google - case baidu - case apple + case youdao = "Youdao" + case bing = "Bing" + case google = "Google" + case baidu = "Baidu" + case apple = "Apple" } @available(macOS 13, *)