apply font to ssh term

This commit is contained in:
lollipopkit
2023-03-21 14:12:44 +08:00
parent 27e7653587
commit 43e32775a3
19 changed files with 179 additions and 51 deletions

View File

@@ -3,7 +3,7 @@ import 'package:toolbox/core/provider_base.dart';
import '../model/sftp/download_item.dart';
import '../model/sftp/download_status.dart';
class SftpDownloadProvider extends ProviderBase {
class SftpProvider extends ProviderBase {
final List<SftpDownloadStatus> _status = [];
List<SftpDownloadStatus> get status => _status;

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 237;
static const int build = 239;
static const String engine =
"Flutter 3.7.7 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 2ad6cd72c0 (10 days ago) • 2023-03-08 09:41:59 -0800\nEngine • revision 1837b5be5f\nTools • Dart 2.19.4 • DevTools 2.20.1\n";
static const String buildAt = "2023-03-18 17:38:10.546482";
static const int modifications = 4;
"Flutter 3.7.7 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 2ad6cd72c0 (13 days ago) • 2023-03-08 09:41:59 -0800\nEngine • revision 1837b5be5f\nTools • Dart 2.19.4 • DevTools 2.20.1\n";
static const String buildAt = "2023-03-21 14:03:13.656226";
static const int modifications = 17;
}

View File

@@ -8,3 +8,8 @@ Future<Directory> get sftpDownloadDir async {
final dir = Directory('${(await docDir).path}/sftp');
return dir.create(recursive: true);
}
Future<Directory> get fontDir async {
final dir = Directory('${(await docDir).path}/font');
return dir.create(recursive: true);
}

View File

@@ -34,5 +34,5 @@ class SettingStore extends PersistentStore {
StoreProperty<int> get themeMode => property('themeMode', defaultValue: 0);
/// Font file path
StoreProperty<String> get fontPath => property('fontPath');
StoreProperty<String> get fontPath => property('fontPath2');
}