修复波浪环退化为圆环:振幅需为 1 才渲染波形,恢复官方默认振幅函数
This commit is contained in:
@@ -164,7 +164,6 @@ fun TokenDetailSheet(
|
|||||||
trackColor = MaterialTheme.colorScheme.outlineVariant,
|
trackColor = MaterialTheme.colorScheme.outlineVariant,
|
||||||
stroke = ringStroke,
|
stroke = ringStroke,
|
||||||
trackStroke = ringStroke,
|
trackStroke = ringStroke,
|
||||||
amplitude = { 0.4f },
|
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
text = "$remainingSeconds",
|
text = "$remainingSeconds",
|
||||||
|
|||||||
@@ -451,7 +451,6 @@ fun TokenCard(
|
|||||||
trackColor = MaterialTheme.colorScheme.outlineVariant,
|
trackColor = MaterialTheme.colorScheme.outlineVariant,
|
||||||
stroke = ringStroke,
|
stroke = ringStroke,
|
||||||
trackStroke = ringStroke,
|
trackStroke = ringStroke,
|
||||||
amplitude = { 0.4f },
|
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
text = "$remainingSeconds",
|
text = "$remainingSeconds",
|
||||||
|
|||||||
Reference in New Issue
Block a user