@@ -1,3 +1,6 @@
|
||||
{
|
||||
"css.customData": [".vscode/tailwindcss.json"],
|
||||
}
|
||||
"css.customData": [
|
||||
".vscode/tailwindcss.json"
|
||||
],
|
||||
"java.configuration.updateBuildConfiguration": "disabled",
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/src/main/java/com/hula/app/generated
|
||||
/src/main/java/com/hula_app/app/generated
|
||||
/src/main/jniLibs/**/*.so
|
||||
/src/main/assets/tauri.conf.json
|
||||
/tauri.build.gradle.kts
|
||||
|
||||
@@ -15,10 +15,10 @@ val tauriProperties = Properties().apply {
|
||||
|
||||
android {
|
||||
compileSdk = 34
|
||||
namespace = "com.hula.app"
|
||||
namespace = "com.hula_app.app"
|
||||
defaultConfig {
|
||||
manifestPlaceholders["usesCleartextTraffic"] = "false"
|
||||
applicationId = "com.hula.app"
|
||||
applicationId = "com.hula_app.app"
|
||||
minSdk = 24
|
||||
targetSdk = 34
|
||||
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package com.hula.app
|
||||
package com.hula_app.app
|
||||
|
||||
class MainActivity : TauriActivity()
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 16 KiB |
@@ -41,7 +41,7 @@
|
||||
"language": "zh-CN"
|
||||
},
|
||||
"nsis": {
|
||||
"installerIcon": "./icons/windows/icon.ico",
|
||||
"installerIcon": "./icons/icon.ico",
|
||||
"displayLanguageSelector": true,
|
||||
"languages": [
|
||||
"SimpChinese"
|
||||
|
||||
@@ -428,12 +428,14 @@ export const useChatStore = defineStore(
|
||||
recallTime
|
||||
})
|
||||
|
||||
// 使用 Worker 来处理定时器
|
||||
timerWorker.postMessage({
|
||||
type: 'startTimer',
|
||||
msgId,
|
||||
duration: RECALL_EXPIRATION_TIME
|
||||
})
|
||||
if (message.fromUser.uid === userStore.userInfo.uid) {
|
||||
// 使用 Worker 来处理定时器
|
||||
timerWorker.postMessage({
|
||||
type: 'startTimer',
|
||||
msgId,
|
||||
duration: RECALL_EXPIRATION_TIME
|
||||
})
|
||||
}
|
||||
|
||||
// 记录这个消息ID已经有了定时器
|
||||
expirationTimers.set(msgId, true)
|
||||
|
||||