summaryrefslogtreecommitdiff
path: root/FireBase/ObservableExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'FireBase/ObservableExtensions.cs')
-rw-r--r--FireBase/ObservableExtensions.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/FireBase/ObservableExtensions.cs b/FireBase/ObservableExtensions.cs
index 37c3ef7..da78365 100644
--- a/FireBase/ObservableExtensions.cs
+++ b/FireBase/ObservableExtensions.cs
@@ -2,8 +2,7 @@
{
using System;
using System.Collections.ObjectModel;
-
- using Firebase.Database.Streaming;
+ using Streaming;
/// <summary>
/// Extensions for <see cref="IObservable{T}"/>.
@@ -25,10 +24,7 @@
if (f.EventType == FirebaseEventType.InsertOrUpdate)
{
var i = collection.IndexOf(f.Object);
- if (i >= 0)
- {
- collection.RemoveAt(i);
- }
+ if (i >= 0) collection.RemoveAt(i);
collection.Add(f.Object);
}
@@ -41,4 +37,4 @@
return collection;
}
}
-}
+} \ No newline at end of file