mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 00:23:27 +00:00
21 lines
931 B
Diff
21 lines
931 B
Diff
diff --git a/flutter/lib/common/widgets/peer_card.dart b/flutter/lib/common/widgets/peer_card.dart
|
|
index 0a15eb45b..d776dd556 100644
|
|
--- a/flutter/lib/common/widgets/peer_card.dart
|
|
+++ b/flutter/lib/common/widgets/peer_card.dart
|
|
@@ -1328,8 +1328,13 @@ Widget getOnline(double rightPadding, bool online) {
|
|
waitDuration: const Duration(seconds: 1),
|
|
child: Padding(
|
|
padding: EdgeInsets.fromLTRB(0, 4, rightPadding, 4),
|
|
- child: CircleAvatar(
|
|
- radius: 3, backgroundColor: online ? Colors.green : kColorWarn)));
|
|
+ child: online
|
|
+ ? CircleAvatar(radius: 3, backgroundColor: Colors.green)
|
|
+ : Icon(
|
|
+ Icons.close, // Red X for offline (Material Icon)
|
|
+ color: Colors.red,
|
|
+ size: 12.0, // Adjust size as needed
|
|
+ )));
|
|
}
|
|
|
|
Widget build_more(BuildContext context, {bool invert = false}) {
|