Example #1
0
        private void HandleEncrypt([NotNull] BaseEntry entry)
        {
            bool hasEncrypted = entry.SetEncrypted();

            if (hasEncrypted && entry is FileEntry fileEntry)
            {
                UpdateTimeFile(fileEntry);
            }

            NotifyEncrypted(entry, hasEncrypted);
        }