-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: show mime type icon for attachments in messages #619
Conversation
Most of them but not all of them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After fixing the import, works correctly (tested against main and stable27)
src/shared/globals/globals.js
Outdated
@@ -24,6 +24,7 @@ import { translate, translatePlural } from '@nextcloud/l10n' | |||
|
|||
import { appData } from '../../app/AppData.js' | |||
import { dialogs } from './OC/dialogs.js' | |||
import { MimeTypeList } from './OC/MimeType.js' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect filename, build is failing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though eslint-pluing-import
should have caught this 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested 👍🏻
after filename change in import
See https://github.com/nextcloud/talk-android/blob/f5a4274e545f506861dc7baf7f92ec5e73d674f6/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt for android, did not compare.. |
Signed-off-by: Grigorii K. Shartsev <[email protected]>
1b26b28
to
4e14804
Compare
|
☑️ Resolves
Might not be the best solution, but as a workaround.
@Ivansss @mahibi Do you use all available icons for mime types from server, including theming?
🖼️ Screenshots