Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unnecessary comments

ashilkn4632ca12e891
diff --git a/mobile/apps/photos/lib/models/selected_files.dart b/mobile/apps/photos/lib/models/selected_files.dart
index b63b309594..88a84365b9 100644
--- a/mobile/apps/photos/lib/models/selected_files.dart
+++ b/mobile/apps/photos/lib/models/selected_files.dart
@@ -12,7 +12,7 @@ import 'package:photos/models/file/file.dart';
/// operations. Dummy files are used for gallery layout purposes and should
/// never be selected.
///
-/// **Important:** All selection methods ([toggleSelection], [selectAll],
+/// All selection methods ([toggleSelection], [selectAll],
/// [unSelectAll], [toggleGroupSelection]) automatically exclude dummy files.
/// Calling code does not need to check for or filter out dummy files before
/// calling these methods.
diff --git a/mobile/apps/photos/lib/ui/components/bottom_action_bar/action_bar_widget.dart b/mobile/apps/photos/lib/ui/components/bottom_action_bar/action_bar_widget.dart
index 07a5aacfd4..c6568ef9f8 100644
--- a/mobile/apps/photos/lib/ui/components/bottom_action_bar/action_bar_widget.dart
+++ b/mobile/apps/photos/lib/ui/components/bottom_action_bar/action_bar_widget.dart
@@ -29,8 +29,6 @@ class _ActionBarWidgetState extends State<ActionBarWidget> {
void initState() {
super.initState();
widget.selectedFiles?.addListener(_selectedFilesListener);
- // Sync initial state if files are already selected
-
_selectedFilesListener();
}
diff --git a/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart b/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart
index 540087cd62..ce4e8d3082 100644
--- a/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart
+++ b/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart
@@ -77,7 +77,6 @@ class _HomeGalleryWidgetState extends State<HomeGalleryWidget> {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);