mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-05 18:44:48 +08:00
opt video/intro page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -79,9 +79,7 @@ class ActionItem extends StatelessWidget {
|
||||
)
|
||||
: child,
|
||||
);
|
||||
return expand
|
||||
? Expanded(child: child)
|
||||
: Material(type: MaterialType.transparency, child: child);
|
||||
return expand ? Expanded(child: child) : child;
|
||||
}
|
||||
|
||||
Widget _buildText(ThemeData theme) {
|
||||
@@ -135,7 +133,7 @@ class _ArcPainter extends CustomPainter {
|
||||
}
|
||||
|
||||
@override
|
||||
bool shouldRepaint(covariant CustomPainter oldDelegate) {
|
||||
return false;
|
||||
bool shouldRepaint(covariant _ArcPainter oldDelegate) {
|
||||
return sweepAngle != oldDelegate.sweepAngle || color != oldDelegate.color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user