forked from 1b-agent/opencadstudio-upstream
fix: normalize recent Patreon support
This commit is contained in:
1 parent
1955e022bf
commit
63c8245f98
4 files changed
+235
-69
No files matched your search
+2
-2
@@ -2744,8 +2744,8 @@ fn start_page_content<'a>(
|
||||
})
|
||||
.width(Fill);
|
||||
for (name, cents) in patrons {
|
||||
// Cents → the campaign currency's main unit. Symbol assumed "$";
|
||||
// adjust if the campaign bills in another currency.
|
||||
// Patreon payments are normalized to USD cents while the list is
|
||||
// generated; hand-maintained entries use USD cents as well.
|
||||
let amount = format!("${:.2}", *cents as f64 / 100.0);
|
||||
list = list.push(
|
||||
iced::widget::row![
|
||||
|
||||
Reference in new issue
Block a user