1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Can delete account image

This commit is contained in:
2020-04-16 19:34:55 +02:00
parent 6e0f6d1d79
commit ef9510e731
2 changed files with 27 additions and 1 deletions

View File

@ -50,4 +50,10 @@ class SettingsHelper {
.key)
.exec())
.isOK;
/// Delete user account image
static Future<bool> deleteAccountImage() async =>
(await APIRequest(uri: "settings/delete_account_image", needLogin: true)
.exec())
.isOK;
}