aheze/Setting

how can ı implement my async function SettingButton

Closed this issue · 1 comments

SettingButton(title: "exit"){
await someFunc()
}

Solved: ** I just forget Task{} **
SettingButton(title: "çıkış"){
Task{await authViewModel.logout()}
}