mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 22:56:08 +09:00
Fix media video (#3452)
* Fix: Always show nsfw * [Client] Add missing video play icon
This commit is contained in:
parent
8f699a4757
commit
3b0f37e389
@ -1,5 +1,5 @@
|
||||
<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>
|
||||
<b><fa icon="exclamation-triangle"/> {{ $t('sensitive') }}</b>
|
||||
<span>{{ $t('click-to-show') }}</span>
|
||||
|
@ -143,6 +143,7 @@ import {
|
||||
faCalendarAlt as farCalendarAlt,
|
||||
faHdd as farHdd,
|
||||
faMoon as farMoon,
|
||||
faPlayCircle as farPlayCircle,
|
||||
} from '@fortawesome/free-regular-svg-icons';
|
||||
|
||||
import {
|
||||
@ -268,6 +269,7 @@ library.add(
|
||||
farCalendarAlt,
|
||||
farHdd,
|
||||
farMoon,
|
||||
farPlayCircle,
|
||||
|
||||
fabTwitter,
|
||||
fabGithub,
|
||||
|
@ -1,5 +1,5 @@
|
||||
<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>
|
||||
<b><fa icon="exclamation-triangle"/> {{ $t('sensitive') }}</b>
|
||||
<span>{{ $t('click-to-show') }}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user