Commit 952cb2b
Fix widgets with negative values being green
The number used to calculate whether a widget is red or green should be
the same value as the one that is displayed. It was instead calling
a (buggy) method which calculated a different balance to the one
displayed. This patch fixes it to determine the colour using the same
value as the one it is displaying.1 parent 724a686 commit 952cb2b
File tree
1 file changed
+1
-1
lines changed- app/src/main/java/org/gnucash/android/ui/homescreen
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
0 commit comments