mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-21 19:27:30 +08:00
chore: updates
This commit is contained in:
@@ -155,8 +155,6 @@ class MyApp extends StatelessWidget {
|
||||
title: 'Polaris 电影电视剧追踪',
|
||||
theme: ThemeData(
|
||||
fontFamily: "NotoSansSC",
|
||||
fontFamilyFallback: const ["PingFang SC", "Heiti SC"],
|
||||
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: Colors.blue, brightness: Brightness.dark),
|
||||
useMaterial3: true,
|
||||
|
||||
@@ -76,9 +76,7 @@ class SearchPageData extends AutoDisposeAsyncNotifier<List<SearchResult>> {
|
||||
list = List.empty(growable: true);
|
||||
final dio = await APIs.getDio();
|
||||
var resp = await dio.get(APIs.searchUrl, queryParameters: {"query": q});
|
||||
//var dy = jsonDecode(resp.data.toString());
|
||||
|
||||
print("search page results: ${resp.data}");
|
||||
var rsp = ServerResponse.fromJson(resp.data as Map<String, dynamic>);
|
||||
if (rsp.code != 0) {
|
||||
throw rsp.message;
|
||||
|
||||
@@ -301,7 +301,7 @@ class _SystemSettingsPageState extends ConsumerState<SystemSettingsPage> {
|
||||
tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0),
|
||||
childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0),
|
||||
initiallyExpanded: true,
|
||||
title: const Text("TMDB 设置"),
|
||||
title: const Text("常规设置"),
|
||||
children: [tmdbSetting],
|
||||
),
|
||||
ExpansionTile(
|
||||
@@ -328,7 +328,7 @@ class _SystemSettingsPageState extends ConsumerState<SystemSettingsPage> {
|
||||
ExpansionTile(
|
||||
tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0),
|
||||
childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0),
|
||||
initiallyExpanded: true,
|
||||
initiallyExpanded: false,
|
||||
title: const Text("认证设置"),
|
||||
children: [authSetting],
|
||||
),
|
||||
@@ -355,7 +355,7 @@ class _SystemSettingsPageState extends ConsumerState<SystemSettingsPage> {
|
||||
controller: nameController,
|
||||
),
|
||||
TextField(
|
||||
decoration: const InputDecoration(labelText: "网址"),
|
||||
decoration: const InputDecoration(labelText: "地址"),
|
||||
controller: urlController,
|
||||
),
|
||||
TextField(
|
||||
@@ -425,7 +425,7 @@ class _SystemSettingsPageState extends ConsumerState<SystemSettingsPage> {
|
||||
controller: nameController,
|
||||
),
|
||||
TextField(
|
||||
decoration: const InputDecoration(labelText: "网址"),
|
||||
decoration: const InputDecoration(labelText: "地址"),
|
||||
controller: urlController,
|
||||
),
|
||||
],
|
||||
@@ -521,7 +521,7 @@ class _SystemSettingsPageState extends ConsumerState<SystemSettingsPage> {
|
||||
children: [
|
||||
TextField(
|
||||
decoration: const InputDecoration(
|
||||
labelText: "Webdav网址"),
|
||||
labelText: "Webdav地址"),
|
||||
controller: urlController,
|
||||
),
|
||||
TextField(
|
||||
|
||||
Reference in New Issue
Block a user