feat: rename edit as view

This commit is contained in:
GyDi
2022-01-19 23:58:34 +08:00
parent 4f02c373c2
commit 0d5bfc0997
4 changed files with 8 additions and 8 deletions

View File

@@ -9,8 +9,8 @@ export async function syncProfiles() {
return invoke<void>("sync_profiles");
}
export async function editProfile(index: number) {
return invoke<void>("edit_profile", { index });
export async function viewProfile(index: number) {
return invoke<void>("view_profile", { index });
}
export async function importProfile(url: string) {