From 6ef163cf1d6edb72389f76d9e28ebe6d00e624dc Mon Sep 17 00:00:00 2001 From: Peter <> Date: Fri, 11 Oct 2019 16:20:04 +0400 Subject: [PATCH] Fix item ordering --- .../Sources/Privacy and Security/BlockedPeersController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/SettingsUI/Sources/Privacy and Security/BlockedPeersController.swift b/submodules/SettingsUI/Sources/Privacy and Security/BlockedPeersController.swift index 2b10cb8354..ee99ace770 100644 --- a/submodules/SettingsUI/Sources/Privacy and Security/BlockedPeersController.swift +++ b/submodules/SettingsUI/Sources/Privacy and Security/BlockedPeersController.swift @@ -106,9 +106,9 @@ private enum BlockedPeersEntry: ItemListNodeEntry { switch lhs { case .add: if case .add = rhs { - return true - } else { return false + } else { + return true } case let .peerItem(index, _, _, _, _, _, _, _): switch rhs {