Skip to content

Commit 8ffc1b5

Browse files
committed
use new fonts and some fixs -> 0.2Beta
1 parent ab1ab8c commit 8ffc1b5

19 files changed

+41
-121
lines changed

.flutter-plugins

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@ image_picker_macos=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.
1414
image_picker_windows=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker_windows-0.2.1+1\\
1515
path_provider_linux=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_linux-2.0.0\\
1616
path_provider_windows=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_windows-2.1.7\\
17-
screen_retriever=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\screen_retriever-0.2.0\\
18-
screen_retriever_linux=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\screen_retriever_linux-0.2.0\\
19-
screen_retriever_macos=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\screen_retriever_macos-0.2.0\\
20-
screen_retriever_windows=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\screen_retriever_windows-0.2.0\\
2117
shared_preferences=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences-2.3.2\\
2218
shared_preferences_android=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_android-2.3.2\\
2319
shared_preferences_foundation=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_foundation-2.5.4\\
2420
shared_preferences_linux=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_linux-2.4.1\\
2521
shared_preferences_web=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_web-2.4.3\\
2622
shared_preferences_windows=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_windows-2.4.1\\
27-
window_manager=C:\\Users\\samuioto\\AppData\\Local\\Pub\\Cache\\git\\window_manager-625d44d2746bfbf1e843321b066d8e9f77951e05\\packages\\window_manager\\

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"C_Cpp.errorSquiggles": "disabled"
3+
}

android/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
android {
9-
namespace = "com.example.t_samuioto_ssh"
9+
namespace = "com.example.connecter"
1010
compileSdk = flutter.compileSdkVersion
1111
ndkVersion = flutter.ndkVersion
1212

@@ -21,7 +21,7 @@ android {
2121

2222
defaultConfig {
2323
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24-
applicationId = "com.example.t_samuioto_ssh"
24+
applicationId = "com.example.connecter"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
2727
minSdk = flutter.minSdkVersion

fonts/HarmonyOS_Sans_Regular.ttf

7.88 MB
Binary file not shown.

lib/main.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ class MyApp extends StatelessWidget {
1919
return MaterialApp(
2020
title: '',
2121
theme: ThemeData(
22+
fontFamily: 'hmossans',
2223
colorScheme: ColorScheme.fromSeed(
2324
seedColor: Colors.blueAccent,
2425
brightness: Brightness.light,
26+
2527
),
2628
useMaterial3: true,
2729
),
2830
darkTheme: ThemeData(
31+
fontFamily: 'hmossans',
2932
colorScheme: ColorScheme.fromSeed(
3033
seedColor: Colors.blueAccent,
3134
brightness: Brightness.dark,

lib/manage_connections_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:flutter/material.dart';
2-
import 'package:t_samuioto_ssh/terminal_page.dart';
2+
import 'terminal_page.dart';
33
// ignore: unused_import
44
import 'package:uuid/uuid.dart';
55
import 'models/connection_model.dart';

lib/quick_connect_dialog.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:flutter/material.dart';
2-
import 'package:t_samuioto_ssh/manage_credentials_page.dart';
2+
import 'manage_credentials_page.dart';
33
import 'package:uuid/uuid.dart';
44
import 'models/connection_model.dart';
55
import 'models/credential_model.dart';
@@ -304,9 +304,9 @@ class _QuickConnectDialogState extends State<QuickConnectDialog> {
304304
labelText: '连接名称',
305305
hintText: '请输入连接名称',
306306
suffixIcon: !_isEditing ? IconButton(
307-
icon: const Icon(Icons.autorenew),
307+
icon: const Icon(Icons.refresh),
308308
onPressed: _generateConnectionName,
309-
tooltip: '自动生成名称',
309+
tooltip: '还原默认',
310310
) : null,
311311
),
312312
validator: (value) {

linux/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,9 @@
77
#include "generated_plugin_registrant.h"
88

99
#include <file_selector_linux/file_selector_plugin.h>
10-
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
11-
#include <window_manager/window_manager_plugin.h>
1210

1311
void fl_register_plugins(FlPluginRegistry* registry) {
1412
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
1513
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
1614
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
17-
g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar =
18-
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin");
19-
screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar);
20-
g_autoptr(FlPluginRegistrar) window_manager_registrar =
21-
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
22-
window_manager_plugin_register_with_registrar(window_manager_registrar);
2315
}

linux/flutter/generated_plugins.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
list(APPEND FLUTTER_PLUGIN_LIST
66
file_selector_linux
7-
screen_retriever_linux
8-
window_manager
97
)
108

119
list(APPEND FLUTTER_FFI_PLUGIN_LIST

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ import FlutterMacOS
66
import Foundation
77

88
import file_selector_macos
9-
import screen_retriever_macos
109
import shared_preferences_foundation
11-
import window_manager
1210

1311
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
1412
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
15-
ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin"))
1613
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
17-
WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
1814
}

0 commit comments

Comments
 (0)