|
|
@ -122,9 +122,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) { |
|
|
|
exportMsg[book.bookUrl] = context.getString(R.string.export_success) |
|
|
|
exportMsg[book.bookUrl] = context.getString(R.string.export_success) |
|
|
|
upAdapterLiveData.postValue(book.bookUrl) |
|
|
|
upAdapterLiveData.postValue(book.bookUrl) |
|
|
|
}.onFinally { |
|
|
|
}.onFinally { |
|
|
|
mutex.withLock { |
|
|
|
exportNumber-- |
|
|
|
exportNumber-- |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -287,9 +285,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) { |
|
|
|
exportMsg[book.bookUrl] = context.getString(R.string.export_success) |
|
|
|
exportMsg[book.bookUrl] = context.getString(R.string.export_success) |
|
|
|
upAdapterLiveData.postValue(book.bookUrl) |
|
|
|
upAdapterLiveData.postValue(book.bookUrl) |
|
|
|
}.onFinally { |
|
|
|
}.onFinally { |
|
|
|
mutex.withLock { |
|
|
|
exportNumber-- |
|
|
|
exportNumber-- |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|