mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-07-26 01:10:57 +02:00
chore: migrate to new version + fixed several critical bugs
- Migrated project to latest Telegram iOS base (v12.3.2+) - Fixed circular dependency between GhostModeManager and MiscSettingsManager - Fixed multiple Bazel build configuration errors (select() default conditions) - Fixed duplicate type definitions in PeerInfoScreen - Fixed swiftmodule directory resolution in build scripts - Added Ghostgram Settings tab in main Settings menu with all 5 features - Cleared sensitive credentials from config.json (template-only now) - Excluded bazel-cache from version control
This commit is contained in:
@@ -236,12 +236,11 @@ public final class ShimmerEffectForegroundNode: ASDisplayNode {
|
||||
|
||||
let image: UIImage?
|
||||
if horizontal {
|
||||
let baseAlpha: CGFloat = 0.1
|
||||
//let baseAlpha: CGFloat = 0.1
|
||||
image = generateImage(CGSize(width: effectSize ?? 200.0, height: 16.0), opaque: false, scale: 1.0, rotatedContext: { size, context in
|
||||
context.clear(CGRect(origin: CGPoint(), size: size))
|
||||
|
||||
let foregroundColor = UIColor(white: 1.0, alpha: min(1.0, baseAlpha * 4.0))
|
||||
|
||||
//let foregroundColor = foregroundColor //.withAlphaComponent(min(1.0, baseAlpha * 3.0))
|
||||
if let shadowImage {
|
||||
UIGraphicsPushContext(context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user