chore: temp remove livekit for release

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2025-11-29 10:54:33 +01:00
parent 84df4c6bcf
commit 9895c696bd
3 changed files with 12 additions and 9 deletions

View File

@ -296,10 +296,10 @@ dependencies {
implementation("org.jetbrains:markdown:0.7.3")
implementation("dev.snipme:highlights:1.0.0")
// Livekit - Commented out for now to not inflate the app size.
implementation("io.livekit:livekit-android:${LivekitVersion.core}")
implementation("io.livekit:livekit-android-camerax:${LivekitVersion.core}")
implementation("io.livekit:livekit-android-compose-components:${LivekitVersion.componentsCompose}")
// Livekit
// implementation("io.livekit:livekit-android:${LivekitVersion.core}")
// implementation("io.livekit:livekit-android-camerax:${LivekitVersion.core}")
// implementation("io.livekit:livekit-android-compose-components:${LivekitVersion.componentsCompose}")
// Firebase - Cloud Messaging
implementation(platform("com.google.firebase:firebase-bom:33.15.0"))

View File

@ -89,7 +89,6 @@ import chat.stoat.api.settings.LoadedSettings
import chat.stoat.api.settings.SyncedSettings
import chat.stoat.composables.generic.HealthAlert
import chat.stoat.composables.voice.VoicePermissionSwitch
import chat.stoat.composables.voice.VoiceSheet
import chat.stoat.material.EasingTokens
import chat.stoat.ndk.NativeLibraries
import chat.stoat.persistence.KVStorage
@ -785,14 +784,18 @@ fun AppEntrypoint(
showVoiceUI = false
}
) {
LaunchedEffect(Unit) {
showVoiceUI = false
voiceChannelId = null
}
voiceChannelId?.let {
VoiceSheet(
/*VoiceSheet(
it,
onDisconnect = {
showVoiceUI = false
voiceChannelId = null
}
)
)*/
}
}
}

View File

@ -1,5 +1,5 @@
package chat.stoat.composables.voice
/*
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
@ -300,4 +300,4 @@ fun VoiceSheet(
}
}
}
}
}*/