Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Make list download location text smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
bgwastu committed Jan 28, 2021
1 parent 5f3a1cc commit 73790dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:librebook/ui/widgets/folder_picker/picker_common.dart';
import 'package:path/path.dart' as Path;

Expand Down Expand Up @@ -79,7 +80,7 @@ class FilesystemListTile extends StatelessWidget {
key: Key(item.absolute.path),
leading: _leading(context),
trailing: _trailing(context),
title: Text(Path.basename(item.path), textScaleFactor: 1.2),
title: Text(Path.basename(item.path), style: Theme.of(Get.context).textTheme.subtitle1,),
onTap: (item is Directory)
? () => onChange(item)
: ((fsType == FilesystemType.file && fileTileSelectMode == FileTileSelectMode.wholeTile)
Expand Down

0 comments on commit 73790dd

Please sign in to comment.