mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 05:34:45 +08:00
grpc import
This commit is contained in:
@ -119,7 +119,7 @@ class AboutUI extends BaseUI<AboutUIModel> {
|
||||
),
|
||||
onPressed: () {
|
||||
launchUrlString(
|
||||
"https://github.com/xkeyC/StarCitizenToolBox");
|
||||
"https://github.com/StarCitizenToolBox/app");
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -147,7 +147,7 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
||||
? null
|
||||
: () => model.launchRSI(),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
padding: const EdgeInsets.all(6),
|
||||
child: Icon(
|
||||
model.isCurGameRunning
|
||||
? FluentIcons.stop_solid
|
||||
@ -161,7 +161,7 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
||||
const SizedBox(width: 12),
|
||||
Button(
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.all(8.0),
|
||||
padding: EdgeInsets.all(6),
|
||||
child: Icon(FluentIcons.folder_open),
|
||||
),
|
||||
onPressed: () => model.openDir(model.scInstalledPath)),
|
||||
|
@ -48,7 +48,7 @@ class IndexUI extends BaseUI<IndexUIModel> {
|
||||
pane: NavigationPane(
|
||||
selected: model.curIndex,
|
||||
items: getNavigationPaneItems(model),
|
||||
size: const NavigationPaneSize(openWidth: 160),
|
||||
size: const NavigationPaneSize(openWidth: 64),
|
||||
),
|
||||
paneBodyBuilder: (item, child) {
|
||||
// final name =
|
||||
@ -97,8 +97,20 @@ class IndexUI extends BaseUI<IndexUIModel> {
|
||||
return [
|
||||
for (final kv in menus.entries)
|
||||
PaneItem(
|
||||
icon: Icon(kv.key),
|
||||
title: Text(kv.value),
|
||||
icon: Padding(
|
||||
padding: const EdgeInsets.only(top: 6, bottom: 6, left: 4),
|
||||
child: Column(
|
||||
children: [
|
||||
Icon(kv.key, size: 18),
|
||||
const SizedBox(height: 3),
|
||||
Text(
|
||||
kv.value,
|
||||
style: const TextStyle(fontSize: 11),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
// title: Text(kv.value),
|
||||
body: const SizedBox.shrink(),
|
||||
onTap: () {
|
||||
model.onIndexMenuTap(kv.value);
|
||||
|
@ -29,7 +29,7 @@ class ToolsUI extends BaseUI<ToolsUIModel> {
|
||||
onPressed: model.working ? null : model.loadData,
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 32, bottom: 32, left: 12, right: 12),
|
||||
top: 30, bottom: 30, left: 12, right: 12),
|
||||
child: Icon(FluentIcons.refresh),
|
||||
),
|
||||
),
|
||||
@ -197,7 +197,7 @@ class ToolsUI extends BaseUI<ToolsUIModel> {
|
||||
const SizedBox(width: 8),
|
||||
Button(
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.all(8.0),
|
||||
padding: EdgeInsets.all(6),
|
||||
child: Icon(FluentIcons.folder_open),
|
||||
),
|
||||
onPressed: () => model.openDir(model.scInstalledPath))
|
||||
@ -234,7 +234,7 @@ class ToolsUI extends BaseUI<ToolsUIModel> {
|
||||
const SizedBox(width: 8),
|
||||
Button(
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.all(8.0),
|
||||
padding: EdgeInsets.all(6),
|
||||
child: Icon(FluentIcons.folder_open),
|
||||
),
|
||||
onPressed: () => model.openDir(model.rsiLauncherInstalledPath))
|
||||
|
Reference in New Issue
Block a user