Update BottomNavigationViewUtils.cs: removing redundant Dispose() calls (#5298)
authorPawKanarek <paw.kanarek@gmail.com>
Sat, 1 Jun 2019 01:45:58 +0000 (03:45 +0200)
committerSamantha Houts <samhouts@users.noreply.github.com>
Sat, 1 Jun 2019 01:45:58 +0000 (18:45 -0700)
commite120e7d15aad7f322f50e5723c28bd570a33ba1e
treec2010b71c19a62568d30ed7f132c591bf419bb14
parenta0fcf30bc3e6c0a544a06328d3c01df85805dc62
Update BottomNavigationViewUtils.cs: removing redundant Dispose() calls (#5298)

* Update BottomNavigationViewUtils.cs

Remove Dispose() and using statement as we don't destroy items.

Casting objects to classes that implements IDisposable interface dosen't mean we need call Dispose() on them, and surely we don't want call it here.

* Update BottomNavigationViewUtils.cs

Fixed typo: removed closing parenthesis, added semicolon
Xamarin.Forms.Platform.Android/Renderers/BottomNavigationViewUtils.cs