Merge branch 'themes-accent' into shigusegubu
* themes-accent: dismiss warning when selecting other themes, fix collapsed attachments link color properly clear theme fixed transparent + semi-transparent inheritance case post-merge fix fix v2 breezy themes having messed up pressed buttons. updated v2.1 breezy themes to have derived colors instead of fixed ones. Emoji Reactions - fixes and improvements MRF Keyword Policy Disclosure Include non-gallery attachments and distinguish between images and videos Indicate whether collapsed statuses contain gallery media or link preview cards Add option text Add `with_move` param for fetching notification Change to hide User migrates tab when allow following move Add setting for allow_following_move
This commit is contained in:
commit
fb2fd32517
34 changed files with 380 additions and 82 deletions
|
|
@ -257,6 +257,16 @@ const Status = {
|
|||
file => !fileType.fileMatchesSomeType(this.galleryTypes, file)
|
||||
)
|
||||
},
|
||||
hasImageAttachments () {
|
||||
return this.status.attachments.some(
|
||||
file => fileType.fileType(file.mimetype) === 'image'
|
||||
)
|
||||
},
|
||||
hasVideoAttachments () {
|
||||
return this.status.attachments.some(
|
||||
file => fileType.fileType(file.mimetype) === 'video'
|
||||
)
|
||||
},
|
||||
maxThumbnails () {
|
||||
return this.mergedConfig.maxThumbnails
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue