Skip to content

Commit

Permalink
fix: pr reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed Nov 8, 2024
1 parent c79678f commit 6cb6d43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions FlowCrypt/Controllers/Inbox/InboxViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ extension InboxViewController {
using: FetchMessageContext(
folderPath: viewModel.path,
count: messagesToLoad(),
searchQuery: getSearchQuery(),
pagination: pagination
)
)
Expand Down
6 changes: 3 additions & 3 deletions FlowCryptUI/Nodes/PgpOnlySwitchNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public final class PgpOnlySwitchNode: CellNode {

private lazy var imageNode: ASImageNode = {
let node = ASImageNode()
node.image = UIImage(systemName: "lock.shield")?.tinted(.main)
node.style.preferredSize = CGSize(width: 30, height: 30)
let imageConfiguration = UIImage.SymbolConfiguration(font: .systemFont(ofSize: 24, weight: .light))
node.image = UIImage(systemName: "lock.shield", withConfiguration: imageConfiguration)?.tinted(.main)
return node
}()

Expand Down Expand Up @@ -46,7 +46,7 @@ public final class PgpOnlySwitchNode: CellNode {
return ASInsetLayoutSpec(
insets: .deviceSpecificTextInsets(top: 16, bottom: 16),
child: ASStackLayoutSpec.horizontal().then {
$0.spacing = 10
$0.spacing = 6
$0.alignItems = .center
$0.justifyContent = .spaceBetween
$0.children = [imageNode, toggleNode]
Expand Down

0 comments on commit 6cb6d43

Please sign in to comment.