Commit Graph

9 Commits

Author SHA1 Message Date
tomFlowee 6667ea3f37 Remove unneeded semicolons 2026-03-14 21:14:42 +01:00
tomFlowee 238a5d3f40 Add indicator for price data being old.
When we start up we use the last known price information and also fetch
new data.
When the user shows the price details popup before the fetch has
completed, they may be mislead into thinking that they are looking at
current data while they are not.
So this shows a bouncy while we are fetching.
2024-07-05 12:40:16 +02:00
tomFlowee 784ccfbf38 Allow historical date to be accurate
The backend has the historical prices in its database, we ask for it by
timestamp the by default it returns the nearest value. Typically within
24 hours.

But if the database doesn't have the data, or its very inaccurate, this
may casue confusion.
So we now have a new API call that returns zero instead of an inaccurate
historical price. Allowing us to prefer not showing anything over plain
false data.
2023-03-09 22:46:03 +01:00
tomFlowee b2d5aea590 Don't show historical price if we don't have any 2023-02-22 22:23:39 +01:00
tomFlowee 02638b45bd Fix alignment
Just because we have two labels with the same font doesn't mean they are
the same hight, especially when using special characters.
2023-02-20 18:05:22 +01:00
tomFlowee 3ad8cba5a7 Re-do the price details QML
For less copy/paste code and more declarative design.
2023-02-20 17:04:54 +01:00
tomFlowee 64071e8ca8 i18n: Disambiguation added. 2023-02-20 10:11:26 +01:00
tomFlowee 28cbd58294 Replace placeholder button with image 2023-02-19 18:53:53 +01:00
tomFlowee aa0a505f8f Add price details popup
Show the current price, historical price-differences and a button to
change the currency.
2023-02-19 18:42:33 +01:00