Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Remove code

laurenspriem5e50d8054789
diff --git a/mobile/lib/ui/viewer/file/file_icons_widget.dart b/mobile/lib/ui/viewer/file/file_icons_widget.dart
index d99155b076..f01ec33276 100644
--- a/mobile/lib/ui/viewer/file/file_icons_widget.dart
+++ b/mobile/lib/ui/viewer/file/file_icons_widget.dart
@@ -367,25 +367,11 @@ class _BottomRightOverlayText extends StatelessWidget {
builder: (context, constraints) {
const double inset = 4;
- return Container(
- decoration: const BoxDecoration(
- gradient: LinearGradient(
- begin: Alignment.bottomRight,
- end: Alignment.center,
- colors: [
- Color.fromRGBO(0, 0, 0, 0.14),
- Color.fromRGBO(0, 0, 0, 0.05),
- Color.fromRGBO(0, 0, 0, 0.0),
- ],
- stops: [0, 0.6, 1],
- ),
- ),
- child: Align(
- alignment: Alignment.bottomRight,
- child: Padding(
- padding: const EdgeInsets.only(bottom: inset, right: inset),
- child: text,
- ),
+ return Align(
+ alignment: Alignment.bottomRight,
+ child: Padding(
+ padding: const EdgeInsets.only(bottom: inset, right: inset),
+ child: text,
),
);
},