Skip to content

armgit / ente

Public Imported from GitHub
0

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

add scrollbar in logs viewer screen

ashilknd486500d8b76
diff --git a/lib/ui/tools/debug/log_file_viewer.dart b/lib/ui/tools/debug/log_file_viewer.dart
index 9efefaf7ed..9e3e00789d 100644
--- a/lib/ui/tools/debug/log_file_viewer.dart
+++ b/lib/ui/tools/debug/log_file_viewer.dart
@@ -42,14 +42,16 @@ class _LogFileViewerState extends State<LogFileViewer> {
}
return Container(
padding: const EdgeInsets.only(left: 12, top: 8, right: 12),
- child: SingleChildScrollView(
- child: Text(
- _logs!,
- style: const TextStyle(
- fontFeatures: [
- FontFeature.tabularFigures(),
- ],
- height: 1.2,
+ child: Scrollbar(
+ child: SingleChildScrollView(
+ child: Text(
+ _logs!,
+ style: const TextStyle(
+ fontFeatures: [
+ FontFeature.tabularFigures(),
+ ],
+ height: 1.2,
+ ),
),
),
),