* 'main' of https://github.com/vitorpamplona/amethyst:
  New Crowdin translations by GitHub Action
  Quartz Feature Parity Table on Multiplatform
  enhanced recording button
  translations
  bug fix: - Allow reply to reply by using BaseVoiceEvent
  TODO: Reply to a reply fails to upload Verify deletion of temp voice files
  Code review: - Removed DisposableEffect cleanup - Added cancelUpload() to selectRecording()
  TOOD: Move re-record higher up tp avoid google assistant on longpress Reply to a reply fails to upload Verify deletion of temp voice files
  Register Route in AppNavigation Modify ReplyViaVoiceReaction to Navigate
  Add VoiceReply Route Create VoiceReplyViewModel and VoiceReplyScreen Add String Resource(s)
This commit is contained in:
Vitor Pamplona
2025-12-28 12:23:14 -05:00
20 changed files with 807 additions and 119 deletions
@@ -65,12 +65,12 @@ class VoiceReplyEvent(
hash: String,
duration: Int,
waveform: List<Float>,
replyingTo: EventHintBundle<VoiceEvent>,
replyingTo: EventHintBundle<BaseVoiceEvent>,
) = build(AudioMeta(url, mimeType, hash, duration, waveform), replyingTo)
fun build(
voiceMessage: AudioMeta,
replyingTo: EventHintBundle<VoiceEvent>,
replyingTo: EventHintBundle<BaseVoiceEvent>,
createdAt: Long = TimeUtils.now(),
initializer: TagArrayBuilder<VoiceReplyEvent>.() -> Unit = {},
) = build(voiceMessage, KIND, ALT_DESCRIPTION, createdAt) {