mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: bump client api that deduplicate sync message (#4972)
* chore: bump client api * chore: update log * chore: bump client api
This commit is contained in:
@ -238,7 +238,6 @@ impl DatabaseManager {
|
||||
Ok(editor)
|
||||
}
|
||||
|
||||
#[tracing::instrument(level = "debug", skip_all)]
|
||||
pub async fn close_database_view<T: AsRef<str>>(&self, view_id: T) -> FlowyResult<()> {
|
||||
let view_id = view_id.as_ref();
|
||||
let wdb = self.get_workspace_database().await?;
|
||||
|
@ -117,7 +117,6 @@ impl DatabaseEditor {
|
||||
|
||||
/// Returns bool value indicating whether the database is empty.
|
||||
///
|
||||
#[tracing::instrument(level = "debug", skip_all)]
|
||||
pub async fn close_view(&self, view_id: &str) -> bool {
|
||||
// If the database is empty, flush the database to the disk.
|
||||
if self.database_views.editors().await.len() == 1 {
|
||||
|
Reference in New Issue
Block a user