Skip to content
Snippets Groups Projects
Commit cf4cecd4 authored by MeiMei's avatar MeiMei Committed by syuilo
Browse files

Fix media video (#3452)

* Fix: Always show nsfw

* [Client] Add missing video play icon
parent 6a8835b9
No related branches found
No related tags found
No related merge requests found
<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,
......
<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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment