Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] super key

laurenspriem8d2288fbb443
diff --git a/mobile/lib/ui/components/notification_widget.dart b/mobile/lib/ui/components/notification_widget.dart
index 864e4c29c0..430b8a247b 100644
--- a/mobile/lib/ui/components/notification_widget.dart
+++ b/mobile/lib/ui/components/notification_widget.dart
@@ -25,7 +25,7 @@ class NotificationWidget extends StatelessWidget {
final bool isBlackFriday;
const NotificationWidget({
- Key? key,
+ super.key,
required this.startIcon,
required this.actionIcon,
required this.text,
@@ -33,7 +33,7 @@ class NotificationWidget extends StatelessWidget {
this.isBlackFriday = false,
this.subText,
this.type = NotificationType.warning,
- }) : super(key: key);
+ });
@override
Widget build(BuildContext context) {
diff --git a/mobile/lib/ui/home/header_widget.dart b/mobile/lib/ui/home/header_widget.dart
index a322382f14..04ec237f37 100644
--- a/mobile/lib/ui/home/header_widget.dart
+++ b/mobile/lib/ui/home/header_widget.dart
@@ -5,8 +5,8 @@ import 'package:photos/ui/home/status_bar_widget.dart';
class HeaderWidget extends StatelessWidget {
const HeaderWidget({
- Key? key,
- }) : super(key: key);
+ super.key,
+ });
@override
Widget build(BuildContext context) {