Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove use of BackdropFilter to reduce jank when scrolling location section

ashilknb37a81a36ae2
diff --git a/lib/ui/viewer/search_tab/locations_section.dart b/lib/ui/viewer/search_tab/locations_section.dart
index 60a3ea84df..3db85e0dbc 100644
--- a/lib/ui/viewer/search_tab/locations_section.dart
+++ b/lib/ui/viewer/search_tab/locations_section.dart
@@ -326,15 +326,11 @@ class LocationRecommendation extends StatelessWidget {
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
- ClipRRect(
- borderRadius: const BorderRadius.all(Radius.circular(8)),
- child: BackdropFilter(
- filter: ImageFilter.blur(sigmaX: 2, sigmaY: 2),
- child: Container(
- color: const Color.fromRGBO(0, 0, 0, 0.6),
- width: 15,
- height: 15,
- ),
+ ClipOval(
+ child: Container(
+ color: const Color.fromRGBO(0, 0, 0, 0.6),
+ width: 15,
+ height: 15,
),
),
Container(