feat(profile): send message and subscribe button

This commit is contained in:
mso7nueh
2024-11-22 16:44:52 +03:00
parent c909c75d47
commit b8afeb53b4
6 changed files with 124 additions and 4 deletions

View File

@@ -129,4 +129,20 @@ class ProfileRepository {
rethrow;
}
}
Future<void> subscribe(String slug) async {
try {
return await profileService.subscribe(slug: slug);
} catch (e) {
rethrow;
}
}
Future<void> unsubscribe(String slug) async {
try {
return await profileService.unsubscribe(slug: slug);
} catch (e) {
rethrow;
}
}
}