From 09c8ca989810d2fe0020de1b534c0836e4f3b2df Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 19 Jan 2020 12:16:59 -0700 Subject: [PATCH] Remove unnecessary cell reload that was causing crashes. Issue #1535 --- iOS/MasterFeed/MasterFeedViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index e6f13fe29..afcb86e9a 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -1167,7 +1167,7 @@ private extension MasterFeedViewController { feed.rename(to: name) { result in switch result { case .success: - self?.reloadNode(node) + break case .failure(let error): self?.presentError(error) } @@ -1176,7 +1176,7 @@ private extension MasterFeedViewController { folder.rename(to: name) { result in switch result { case .success: - self?.reloadNode(node) + break case .failure(let error): self?.presentError(error) }