feat: 更改为Telegram群组

This commit is contained in:
ikun0014 2024-10-16 21:11:20 +08:00
parent c35966acc7
commit f6d900ad25
No known key found for this signature in database
GPG Key ID: CB646D33779F3C89
3 changed files with 8 additions and 10 deletions

View File

@ -91,7 +91,7 @@ export const initSetting = async() => {
} catch (err: any) {
void tipDialog({
title: '数据迁移失败 (Migrate data Failed)',
message: `请加企鹅群(830125506)或到GitHub反馈为了防止数据丢失应用将停止运行错误信息\n${(err.stack ?? err.message) as string}`,
message: `请加tg群(@ikunshare_qun)或到GitHub反馈为了防止数据丢失应用将停止运行错误信息\n${(err.stack ?? err.message) as string}`,
btnText: 'Exit',
bgClose: false,
}).then(() => {

View File

@ -11,9 +11,7 @@ import { useI18n } from '@/lang'
import Text from '@/components/common/Text'
import { showPactModal } from '@/core/common'
const qqGroupUrl = 'mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26jump_from%3Dwebapi%26k%3DKLw6B7FXiIUUEBK9Tk22BxJ-82T3Inm8'
const qqGroupWebUrl = 'https://qm.qq.com/q/t4toQFR7mE'
const tgGroupUrl = 'https://t.me/ikunshare_qun'
export default memo(() => {
const theme = useTheme()
@ -28,9 +26,9 @@ export default memo(() => {
void openUrl('https://lyswhut.github.io/lx-music-doc/mobile/faq')
}
const goToQQGroup = () => {
openUrl(qqGroupUrl).catch(() => {
void openUrl(qqGroupWebUrl)
const goToTGGroup = () => {
openUrl(tgGroupUrl).catch(() => {
void openUrl(tgGroupUrl)
})
}
@ -64,8 +62,8 @@ export default memo(() => {
</View>
<View style={styles.part}>
<Text style={styles.text}><Text style={styles.boldText}></Text>使<Text style={styles.boldText} > </Text></Text>
<Text style={styles.text}> </Text>
<TouchableOpacity onPress={goToQQGroup}><Text style={textLinkStyle}>849514974</Text></TouchableOpacity>
<Text style={styles.text}>Telegaram群组 </Text>
<TouchableOpacity onPress={goToTGGroup}><Text style={textLinkStyle}>849514974</Text></TouchableOpacity>
<Text style={styles.text}> </Text>
<Text style={styles.text}><Text style={styles.boldText}>+寿</Text></Text>
</View>

View File

@ -551,7 +551,7 @@ export const cheatTip = async() => {
return tipDialog({
title: '提示',
message: `本项目是对LX Music的二次开发请勿将本项目用于商业用途否则后果自负。如有疑问请加入QQ群849514974`,
message: `本项目是对LX Music的二次开发请勿将本项目用于商业用途否则后果自负。如有疑问请加入Telegram群组@ikunshare_qun`,
btnText: '我知道了 (Close)',
bgClose: true,
}).then(() => {