diff --git a/generator/swift/swift.babelg.py b/generator/swift/swift.babelg.py
index <HASH>..<HASH> 100644
--- a/generator/swift/swift.babelg.py
+++ b/generator/swift/swift.babelg.py
@@ -492,9 +492,6 @@ class SwiftGenerator(CodeGeneratorMonolingual):
                         with self.block('switch tag'):
                             for field in data_type.fields:
                                 field_type = field.data_type
-                                if is_nullable_type(field_type):
-                                    field_type = field_type.data_type
-
                                 self.emit('case "{}":'.format(field.name))
 
                                 tag_type = self._tag_type(data_type, field)
Fix type error in SwiftyDropbox serialization code

Summary: This is the generator fix

Test Plan: regenerated and it works now.

Reviewed By: kelkabany