From c4ee03b73334de3a6dbc4217a11f8344dd833390 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 7 Mar 2019 08:32:20 +0000 Subject: [PATCH] Fix null warning --- .../java/com/etesync/syncadapter/ui/ViewCollectionActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.kt b/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.kt index 150b05c8..d53ca703 100644 --- a/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.kt +++ b/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.kt @@ -96,7 +96,7 @@ class ViewCollectionActivity : BaseActivity(), Refreshable { supportActionBar!!.setDisplayHomeAsUpEnabled(true) - account = intent.extras!!.getParcelable(EXTRA_ACCOUNT) + account = intent.extras!!.getParcelable(EXTRA_ACCOUNT)!! info = intent.extras!!.getSerializable(EXTRA_COLLECTION_INFO) as CollectionInfo if (savedInstanceState == null) {