((props) => {
{!isHiddenCollapse.value && (
-
{text.value}
@@ -133,5 +139,5 @@ export const AttachVoice = defineComponent
((props) => {
)
}, {
- props: ['voice']
+ props: ['voice', 'wasListened']
})
diff --git a/src/ui/messenger/attaches/Attaches.tsx b/src/ui/messenger/attaches/Attaches.tsx
index 49be565f..b5eeddfd 100644
--- a/src/ui/messenger/attaches/Attaches.tsx
+++ b/src/ui/messenger/attaches/Attaches.tsx
@@ -1,5 +1,6 @@
import { defineComponent } from 'vue'
import * as Attach from 'model/Attach'
+import * as Message from 'model/Message'
import { useEnv } from 'hooks'
import { ClassName } from 'misc/utils'
import { AttachVoice } from './AttachVoice/AttachVoice'
@@ -11,6 +12,7 @@ import './Attaches.css'
type Props = {
attaches: Attach.Attaches
+ message?: Message.Normal
class: ClassName
}
@@ -23,7 +25,9 @@ export const Attaches = defineComponent
((props) => {
{props.attaches.photos && }
{props.attaches.links?.map((link) => )}
{props.attaches.wall && }
- {props.attaches.voice && }
+ {props.attaches.voice && (
+
+ )}
{props.attaches.unknown?.map((unknown) => (
{lang.use('me_unknown_attach')} ({unknown.type})
@@ -32,5 +36,5 @@ export const Attaches = defineComponent
((props) => {
)
}, {
- props: ['attaches', 'class']
+ props: ['attaches', 'class', 'message']
})
diff --git a/src/ui/ui/ButtonIcon/ButtonIcon.css b/src/ui/ui/ButtonIcon/ButtonIcon.css
index 1287c94a..d954cb7f 100644
--- a/src/ui/ui/ButtonIcon/ButtonIcon.css
+++ b/src/ui/ui/ButtonIcon/ButtonIcon.css
@@ -5,6 +5,7 @@
flex: none;
position: relative;
border-radius: 6px;
+ line-height: 0;
transition: background-color var(--fastTransition), opacity var(--fastTransition);
}
diff --git a/vk.zip b/vk.zip
new file mode 100644
index 00000000..fff35a5e
Binary files /dev/null and b/vk.zip differ