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

View File

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

View File

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

View File

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