feat: finish settings screen
This commit is contained in:
@@ -415,6 +415,15 @@ export class Ark {
|
||||
}
|
||||
}
|
||||
|
||||
public async get_current_user_profile() {
|
||||
try {
|
||||
const cmd: Metadata = await invoke("get_current_user_profile");
|
||||
return cmd;
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public async create_profile(profile: Metadata) {
|
||||
try {
|
||||
const event: string = await invoke("create_profile", {
|
||||
|
||||
Reference in New Issue
Block a user