mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 13:06:44 -06:00
Fix media video (#3452)
* Fix: Always show nsfw * [Client] Add missing video play icon
This commit is contained in:
parent
6a8835b923
commit
cf4cecd4df
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="uofhebxjdgksfmltszlxurtjnjjsvioh" v-if="video.isSensitive && hide" @click="hide = false">
|
<div class="uofhebxjdgksfmltszlxurtjnjjsvioh" v-if="video.isSensitive && hide && !$store.state.device.alwaysShowNsfw" @click="hide = false">
|
||||||
<div>
|
<div>
|
||||||
<b><fa icon="exclamation-triangle"/> {{ $t('sensitive') }}</b>
|
<b><fa icon="exclamation-triangle"/> {{ $t('sensitive') }}</b>
|
||||||
<span>{{ $t('click-to-show') }}</span>
|
<span>{{ $t('click-to-show') }}</span>
|
||||||
|
|
|
@ -143,6 +143,7 @@ import {
|
||||||
faCalendarAlt as farCalendarAlt,
|
faCalendarAlt as farCalendarAlt,
|
||||||
faHdd as farHdd,
|
faHdd as farHdd,
|
||||||
faMoon as farMoon,
|
faMoon as farMoon,
|
||||||
|
faPlayCircle as farPlayCircle,
|
||||||
} from '@fortawesome/free-regular-svg-icons';
|
} from '@fortawesome/free-regular-svg-icons';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -268,6 +269,7 @@ library.add(
|
||||||
farCalendarAlt,
|
farCalendarAlt,
|
||||||
farHdd,
|
farHdd,
|
||||||
farMoon,
|
farMoon,
|
||||||
|
farPlayCircle,
|
||||||
|
|
||||||
fabTwitter,
|
fabTwitter,
|
||||||
fabGithub,
|
fabGithub,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="icozogqfvdetwohsdglrbswgrejoxbdj" v-if="video.isSensitive && hide" @click="hide = false">
|
<div class="icozogqfvdetwohsdglrbswgrejoxbdj" v-if="video.isSensitive && hide && !$store.state.device.alwaysShowNsfw" @click="hide = false">
|
||||||
<div>
|
<div>
|
||||||
<b><fa icon="exclamation-triangle"/> {{ $t('sensitive') }}</b>
|
<b><fa icon="exclamation-triangle"/> {{ $t('sensitive') }}</b>
|
||||||
<span>{{ $t('click-to-show') }}</span>
|
<span>{{ $t('click-to-show') }}</span>
|
||||||
|
|
Loading…
Reference in a new issue