Fix overzealous assert.

Sometimes we set values to nil - e.g. when re-registering through
debugUI

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent e8f4a7bfe8
commit 54792ff461

@ -0,0 +1,9 @@
//
// ReminderViewController.swift
// Signal
//
// Created by Michael Kirk on 3/1/18.
// Copyright © 2018 Open Whisper Systems. All rights reserved.
//
import Foundation

@ -117,7 +117,6 @@ NS_ASSUME_NONNULL_BEGIN
- (void)setObject:(id)object forKey:(NSString *)key inCollection:(NSString *)collection
{
OWSAssert(object);
OWSAssert(key.length > 0);
OWSAssert(collection.length > 0);

Loading…
Cancel
Save