mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-23 16:45:27 +01:00
@@ -122,7 +122,10 @@ class _ServerDetailPageState extends State<ServerDetailPage>
|
||||
|
||||
CustomAppBar _buildAppBar(Server si) {
|
||||
return CustomAppBar(
|
||||
title: Text(si.spi.name),
|
||||
title: Hero(
|
||||
tag: 'home_card_title_${si.spi.id}',
|
||||
child: Text(si.spi.name),
|
||||
),
|
||||
actions: [
|
||||
QrShareBtn(
|
||||
data: si.spi.toJsonString(),
|
||||
|
||||
@@ -461,11 +461,14 @@ class _ServerPageState extends State<ServerPage>
|
||||
children: [
|
||||
ConstrainedBox(
|
||||
constraints: BoxConstraints(maxWidth: _media.size.width / 2.3),
|
||||
child: Text(
|
||||
s.spi.name,
|
||||
style: UIs.text13Bold,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
child: Hero(
|
||||
tag: 'home_card_title_${s.spi.id}',
|
||||
child: Text(
|
||||
s.spi.name,
|
||||
style: UIs.text13Bold,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
),
|
||||
const Icon(
|
||||
|
||||
Reference in New Issue
Block a user