Commit 78f45865 authored by Manuel Herold's avatar Manuel Herold

Merge remote-tracking branch 'origin/feature/dashboard' into feature/dashboard

parents a76cad73 5702a529
...@@ -21,6 +21,12 @@ class Post { ...@@ -21,6 +21,12 @@ class Post {
return title; return title;
} }
String get effectiveContent {
if (content != null && content.isNotEmpty) return content;
return title;
}
String get formattedTrustScore { String get formattedTrustScore {
NumberFormat format = NumberFormat("###.00"); NumberFormat format = NumberFormat("###.00");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment