mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
#54 new: grouped snippet & tab snippet
This commit is contained in:
@@ -291,7 +291,7 @@ class _SettingPageState extends State<SettingPage> {
|
||||
.map(
|
||||
(e) => PopupMenuItem(
|
||||
value: e.index,
|
||||
child: Text(tabTitleName(context, e.index)),
|
||||
child: Text(tabTitleName(context, e)),
|
||||
),
|
||||
)
|
||||
.toList();
|
||||
@@ -316,7 +316,7 @@ class _SettingPageState extends State<SettingPage> {
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(maxWidth: _media.size.width * 0.35),
|
||||
child: Text(
|
||||
tabTitleName(context, _launchPageIdx),
|
||||
tabTitleName(context, AppTab.values[_launchPageIdx]),
|
||||
textAlign: TextAlign.right,
|
||||
style: textSize15,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user