1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-09-19 05:48:54 +00:00

Can update comments content

This commit is contained in:
2019-05-18 18:48:12 +02:00
parent 6d73d38bf8
commit 67b6764f09
6 changed files with 60 additions and 8 deletions

View File

@@ -13,4 +13,7 @@ class APIResponse {
List<dynamic> getArray() => jsonDecode(this.content);
Map<String, dynamic> getObject() => jsonDecode(this.content);
/// Check if the request is successful or not
bool get isOK => code == 200;
}

View File

@@ -13,7 +13,7 @@ class Comment implements LikeElement {
final int userID;
final int postID;
final int timeSent;
final String content;
String content;
final String imageURL;
int likes;
bool userLike;