chore: rework login and identity (#129)
* . * redesign onboarding screen * . * add signer proxy * . * . * . * . * fix proxy * clean up * fix new account
This commit is contained in:
@@ -41,11 +41,7 @@ impl UserProfile {
|
||||
}
|
||||
|
||||
pub fn load(&mut self, window: &mut Window, cx: &mut Context<Self>) {
|
||||
// Skip if user isn't logged in
|
||||
let Some(identity) = Identity::read_global(cx).public_key() else {
|
||||
return;
|
||||
};
|
||||
|
||||
let identity = Identity::read_global(cx).public_key();
|
||||
let public_key = self.public_key;
|
||||
|
||||
let check_follow: Task<bool> = cx.background_spawn(async move {
|
||||
|
||||
Reference in New Issue
Block a user