Fixed bug where deleted items didn't disappear from list
This commit is contained in:
parent
df581f4c51
commit
30d9d72133
@ -45,9 +45,7 @@ import java.lang.ref.WeakReference
|
||||
* Provides singleton objects across the application.
|
||||
*/
|
||||
object Singleton {
|
||||
var currentLabel = Observable<Label?>(null).apply {
|
||||
addObserver(this) { _ -> swipeableMessageAdapter = null }
|
||||
}
|
||||
var currentLabel = Observable<Label?>(null)
|
||||
|
||||
private var swipeableMessageAdapter: WeakReference<SwipeableMessageAdapter>? = null
|
||||
val labeler = DefaultLabeler().apply {
|
||||
|
Loading…
Reference in New Issue
Block a user