From a2db4a8330eb5841ca7fcd80a4ba4b3a9db1959f Mon Sep 17 00:00:00 2001 From: Ryan Zhao Date: Tue, 25 Jan 2022 16:55:48 +1100 Subject: [PATCH] add comments --- Session/Home/GlobalSearch/EmptySearchResultCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Session/Home/GlobalSearch/EmptySearchResultCell.swift b/Session/Home/GlobalSearch/EmptySearchResultCell.swift index 3feb6cd0d..45402292a 100644 --- a/Session/Home/GlobalSearch/EmptySearchResultCell.swift +++ b/Session/Home/GlobalSearch/EmptySearchResultCell.swift @@ -46,6 +46,8 @@ class EmptySearchResultCell: UITableViewCell { public func configure(isLoading: Bool) { if isLoading { + // Calling stopAnimating() here is a workaround for + // the spinner won't change its colour as the theme changed. spinner.stopAnimating() spinner.startAnimating() messageLabel.isHidden = true