[WIP] Sticker editor

This commit is contained in:
Ilya Laktyushin
2024-03-09 03:19:31 +04:00
parent c78f407c02
commit 3bdcb7f223
86 changed files with 5498 additions and 1990 deletions

View File

@@ -665,7 +665,7 @@ private final class MediaToolsScreenComponent: Component {
tools = tools.filter { !component.hiddenTools.contains($0.key) }
if !component.mediaEditor.sourceIsVideo {
if !component.mediaEditor.sourceIsVideo && !component.hiddenTools.contains(.grain) {
tools.insert(AdjustmentTool(
key: .grain,
title: presentationData.strings.Story_Editor_Tool_Grain,