From 9fa16cc66f6bf4cd78d23916ec9ae41427235ba6 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 29 Oct 2018 12:59:56 -0400 Subject: [PATCH] Fix small bug in the re-registration flow. --- Signal/src/ViewControllers/ProfileViewController.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Signal/src/ViewControllers/ProfileViewController.m b/Signal/src/ViewControllers/ProfileViewController.m index 330476c63..5925a1472 100644 --- a/Signal/src/ViewControllers/ProfileViewController.m +++ b/Signal/src/ViewControllers/ProfileViewController.m @@ -85,6 +85,10 @@ NSString *const kProfileView_LastPresentedDate = @"kProfileView_LastPresentedDat [self createViews]; [self updateNavigationItem]; + + if (self.nameTextField.text.length > 0) { + self.hasUnsavedChanges = YES; + } } - (void)createViews