fix(chat): keep Pager voice control visible

This commit is contained in:
liu weikai
2026-08-10 17:17:49 +08:00
parent 0f85c359a3
commit cf62f438f7
5 changed files with 52 additions and 3 deletions
@@ -19,6 +19,11 @@ void setRuntime(IVoiceMessageRuntime* runtime)
s_runtime = runtime;
}
bool isRuntimeBound()
{
return s_runtime != nullptr;
}
bool isAvailable()
{
return s_runtime && s_runtime->isAvailable();