From e78ca03f44be22813978367d104e35ca546b2d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Gy=C3=B6ngy=C3=B6si?= Date: Sat, 31 Oct 2026 18:39:14 +0100 Subject: [PATCH] Common Tags: fix nil unwrapping crash Fix a bug that resulted in an app crash when scrolling to the bottom of the Common Tags page, back to the top and then back to the bottom of it. This was due to nil valueField values being unwrapped. --- src/POI/POICommonTagsViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/POI/POICommonTagsViewController.swift b/src/POI/POICommonTagsViewController.swift index 602842609..11c57bf04 100644 --- a/src/POI/POICommonTagsViewController.swift +++ b/src/POI/POICommonTagsViewController.swift @@ -15,8 +15,8 @@ class FeaturePresetCell: UITableViewCell { override func prepareForReuse() { super.prepareForReuse() - valueField.key = "" - valueField.text = "" + valueField?.key = "" + valueField?.text = "" } }