🐛 Bug fixes in developer hub

This commit is contained in:
2025-10-12 23:27:49 +08:00
parent 76009147e9
commit f685a7a249
6 changed files with 15 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import 'package:easy_localization/easy_localization.dart'; import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:gap/gap.dart';
import 'package:go_router/go_router.dart'; import 'package:go_router/go_router.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:island/models/custom_app.dart'; import 'package:island/models/custom_app.dart';
@@ -32,6 +33,7 @@ class AppDetailScreen extends HookConsumerWidget {
); );
return AppScaffold( return AppScaffold(
isNoBackground: false,
appBar: AppBar( appBar: AppBar(
title: Text(appData.value?.name ?? 'appDetails'.tr()), title: Text(appData.value?.name ?? 'appDetails'.tr()),
actions: [ actions: [
@@ -51,6 +53,7 @@ class AppDetailScreen extends HookConsumerWidget {
); );
}, },
), ),
const Gap(8),
], ],
bottom: TabBar( bottom: TabBar(
controller: tabController, controller: tabController,

View File

@@ -30,6 +30,7 @@ class BotDetailScreen extends HookConsumerWidget {
final botData = ref.watch(botProvider(publisherName, projectId, botId)); final botData = ref.watch(botProvider(publisherName, projectId, botId));
return AppScaffold( return AppScaffold(
isNoBackground: false,
appBar: AppBar( appBar: AppBar(
title: Text(botData.value?.account.nick ?? 'botDetails'.tr()), title: Text(botData.value?.account.nick ?? 'botDetails'.tr()),
actions: [ actions: [

View File

@@ -317,6 +317,7 @@ class EditAppScreen extends HookConsumerWidget {
} }
return AppScaffold( return AppScaffold(
isNoBackground: false,
appBar: AppBar( appBar: AppBar(
title: Text(isNew ? 'createCustomApp'.tr() : 'editCustomApp'.tr()), title: Text(isNew ? 'createCustomApp'.tr() : 'editCustomApp'.tr()),
), ),

View File

@@ -192,6 +192,7 @@ class EditBotScreen extends HookConsumerWidget {
} }
return AppScaffold( return AppScaffold(
isNoBackground: false,
appBar: AppBar(title: Text(isNew ? 'createBot'.tr() : 'editBot'.tr())), appBar: AppBar(title: Text(isNew ? 'createBot'.tr() : 'editBot'.tr())),
body: body:
botData == null && !isNew botData == null && !isNew

View File

@@ -457,6 +457,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.9.0" version: "5.9.0"
dio_smart_retry:
dependency: "direct main"
description:
name: dio_smart_retry
sha256: c8e20da5f49289fa7dce5c9c6b5b120928e3661aefa0fa2d206ea6d93f580928
url: "https://pub.dev"
source: hosted
version: "7.0.1"
dio_web_adapter: dio_web_adapter:
dependency: transitive dependency: transitive
description: description:

View File

@@ -162,6 +162,7 @@ dependencies:
syncfusion_flutter_pdfviewer: ^31.1.21 syncfusion_flutter_pdfviewer: ^31.1.21
swipe_to: ^1.0.6 swipe_to: ^1.0.6
fl_heatmap: ^0.4.5 fl_heatmap: ^0.4.5
dio_smart_retry: ^7.0.1
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: