feat: show loading indicator when loading data from remote (#3120)

* chore: show circle indicator if fetch the data from remote

* chore: fix the lb warnings

* chore: create sdk-build for macOS
This commit is contained in:
Nathan.fooo
2023-08-05 15:02:05 +08:00
committed by GitHub
parent ab7acbd5de
commit 9a72f31d60
28 changed files with 198 additions and 531 deletions

View File

@ -584,10 +584,7 @@ impl UserSession {
match KV::get_object::<Session>(&self.session_config.session_cache_key) {
None => Err(FlowyError::new(
ErrorCode::RecordNotFound,
format!(
"Can't find the value of {}, User is not logged in",
self.session_config.session_cache_key
),
"User is not logged in",
)),
Some(session) => Ok(session),
}