Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexcn committed Jul 31, 2024
1 parent 1cbdbe5 commit 540aa09
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions lib/pages/menu/side_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,15 @@ class _SideMenu extends State<SideMenu> {
// extended: true,
groupAlignment: 1.0,
labelType: NavigationRailLabelType.selected,
leading: FloatingActionButton(
elevation: 0,
onPressed: () {
_mineController.checkUpdata();
},
child: const Icon(Icons.cloud_outlined),
leading: Padding(
padding: const EdgeInsets.only(top: 32.0), // 增加顶部内边距
child: FloatingActionButton(
elevation: 0,
onPressed: () {
_mineController.checkUpdata();
},
child: const Icon(Icons.cloud_outlined),
),
),

destinations: const <NavigationRailDestination>[
Expand Down

0 comments on commit 540aa09

Please sign in to comment.