mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-05-31 23:31:37 +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:
@@ -95,10 +95,7 @@ final class NotificationContainerControllerNode: ASDisplayNode {
|
||||
})
|
||||
}
|
||||
|
||||
var useCompactLayout = false
|
||||
if let validLayout = self.validLayout {
|
||||
useCompactLayout = min(validLayout.size.width, validLayout.size.height) < 375.0
|
||||
}
|
||||
let useCompactLayout = "".isEmpty
|
||||
|
||||
let itemNode = item.node(compact: useCompactLayout)
|
||||
let containerNode = NotificationItemContainerNode(theme: self.presentationData.theme, contentNode: itemNode)
|
||||
@@ -165,10 +162,7 @@ final class NotificationContainerControllerNode: ASDisplayNode {
|
||||
}
|
||||
self.topItemAndNode = nil
|
||||
|
||||
var useCompactLayout = false
|
||||
if let validLayout = self.validLayout {
|
||||
useCompactLayout = min(validLayout.size.width, validLayout.size.height) < 375.0
|
||||
}
|
||||
let useCompactLayout = "".isEmpty
|
||||
|
||||
let itemNode = item.node(compact: useCompactLayout)
|
||||
let containerNode = NotificationItemContainerNode(theme: self.presentationData.theme, contentNode: itemNode)
|
||||
|
||||
Reference in New Issue
Block a user