Rename file
This commit is contained in:
@@ -108,16 +108,6 @@ class GalleryGroups {
|
||||
}
|
||||
|
||||
return scrollOffset;
|
||||
|
||||
// scrollController.animateTo(
|
||||
// scrollOffset,
|
||||
// duration: const Duration(milliseconds: 300),
|
||||
// curve: Curves.easeOutExpo,
|
||||
// );
|
||||
|
||||
// scrollController.jumpTo(
|
||||
// scrollOffset,
|
||||
// );
|
||||
}
|
||||
|
||||
/// Uses binary search to find the group ID that contains the given creation time.
|
||||
@@ -299,15 +289,11 @@ class GalleryGroups {
|
||||
_logger.info(
|
||||
"Built group layouts in ${stopwatch.elapsedMilliseconds} ms",
|
||||
);
|
||||
print(
|
||||
"Built group layouts in ${stopwatch.elapsedMilliseconds} ms",
|
||||
);
|
||||
stopwatch.stop();
|
||||
|
||||
return groupLayouts;
|
||||
}
|
||||
|
||||
// TODO: compute this in isolate
|
||||
void _buildGroups() {
|
||||
final stopwatch = Stopwatch()..start();
|
||||
|
||||
@@ -342,9 +328,6 @@ class GalleryGroups {
|
||||
_logger.info(
|
||||
"Built ${_groupIds.length} groups for group type ${groupType.name} in ${stopwatch.elapsedMilliseconds} ms",
|
||||
);
|
||||
print(
|
||||
"Built ${_groupIds.length} groups for group type ${groupType.name} in ${stopwatch.elapsedMilliseconds} ms",
|
||||
);
|
||||
stopwatch.stop();
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ import 'package:photos/events/files_updated_event.dart';
|
||||
import 'package:photos/events/tab_changed_event.dart';
|
||||
import 'package:photos/models/file/file.dart';
|
||||
import 'package:photos/models/file_load_result.dart';
|
||||
import "package:photos/models/gallery/gallery_sections.dart";
|
||||
import "package:photos/models/gallery/gallery_groups.dart";
|
||||
import "package:photos/models/gallery_type.dart";
|
||||
import 'package:photos/models/selected_files.dart';
|
||||
import "package:photos/service_locator.dart";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import "dart:async";
|
||||
import "package:flutter/material.dart";
|
||||
import "package:logging/logging.dart";
|
||||
import "package:photos/models/gallery/gallery_sections.dart";
|
||||
import "package:photos/models/gallery/gallery_groups.dart";
|
||||
import "package:photos/theme/ente_theme.dart";
|
||||
import "package:photos/ui/viewer/gallery/component/group/type.dart";
|
||||
import "package:photos/ui/viewer/gallery/scrollbar/scroll_bar_with_use_notifier.dart";
|
||||
|
||||
Reference in New Issue
Block a user