💄 Refined developer hub
This commit is contained in:
@@ -7,6 +7,7 @@ import 'package:island/models/dev_project.dart';
|
|||||||
import 'package:island/screens/developers/apps.dart';
|
import 'package:island/screens/developers/apps.dart';
|
||||||
import 'package:island/screens/developers/bots.dart';
|
import 'package:island/screens/developers/bots.dart';
|
||||||
import 'package:island/services/responsive.dart';
|
import 'package:island/services/responsive.dart';
|
||||||
|
import 'package:styled_widget/styled_widget.dart';
|
||||||
|
|
||||||
class ProjectDetailView extends HookConsumerWidget {
|
class ProjectDetailView extends HookConsumerWidget {
|
||||||
final String publisherName;
|
final String publisherName;
|
||||||
@@ -56,8 +57,8 @@ class ProjectDetailView extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
leading: Container(
|
leading: Container(
|
||||||
width: 256,
|
width: isWiderScreen(context) ? 256 : 80,
|
||||||
padding: EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
left: 24,
|
left: 24,
|
||||||
right: 24,
|
right: 24,
|
||||||
bottom: 8,
|
bottom: 8,
|
||||||
@@ -81,7 +82,8 @@ class ProjectDetailView extends HookConsumerWidget {
|
|||||||
iconSize: 16,
|
iconSize: 16,
|
||||||
visualDensity: VisualDensity.compact,
|
visualDensity: VisualDensity.compact,
|
||||||
),
|
),
|
||||||
Expanded(child: Text("backToHub").tr()),
|
if (isWiderScreen(context))
|
||||||
|
Expanded(child: Text("backToHub").tr()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -129,7 +131,7 @@ class ProjectDetailView extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
BotsScreen(publisherName: publisherName, projectId: project.id),
|
BotsScreen(publisherName: publisherName, projectId: project.id),
|
||||||
],
|
],
|
||||||
),
|
).padding(horizontal: 8),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user