temp disable exchange option for desktop

This commit is contained in:
julian 2022-11-14 09:20:35 -06:00
parent 4238ce338a
commit daa7708ad0
2 changed files with 27 additions and 26 deletions

View file

@ -26,9 +26,10 @@ class _DesktopHomeViewState extends ConsumerState<DesktopHomeView> {
onGenerateRoute: RouteGenerator.generateRoute, onGenerateRoute: RouteGenerator.generateRoute,
initialRoute: MyStackView.routeName, initialRoute: MyStackView.routeName,
), ),
Container( // Container(
color: Colors.green, // // todo: exchange
), // color: Colors.green,
// ),
Container( Container(
color: Colors.red, color: Colors.red,
), ),

View file

@ -103,29 +103,29 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
const SizedBox( const SizedBox(
height: 2, height: 2,
), ),
DesktopMenuItem( // DesktopMenuItem(
icon: SvgPicture.asset( // icon: SvgPicture.asset(
Assets.svg.exchangeDesktop, // Assets.svg.exchangeDesktop,
width: 20, // width: 20,
height: 20, // height: 20,
color: 1 == selectedMenuItem // color: 1 == selectedMenuItem
? Theme.of(context) // ? Theme.of(context)
.extension<StackColors>()! // .extension<StackColors>()!
.textDark // .textDark
: Theme.of(context) // : Theme.of(context)
.extension<StackColors>()! // .extension<StackColors>()!
.textDark // .textDark
.withOpacity(0.8), // .withOpacity(0.8),
), // ),
label: "Exchange", // label: "Exchange",
value: 1, // value: 1,
group: selectedMenuItem, // group: selectedMenuItem,
onChanged: updateSelectedMenuItem, // onChanged: updateSelectedMenuItem,
iconOnly: _width == minimizedWidth, // iconOnly: _width == minimizedWidth,
), // ),
const SizedBox( // const SizedBox(
height: 2, // height: 2,
), // ),
DesktopMenuItem( DesktopMenuItem(
icon: SvgPicture.asset( icon: SvgPicture.asset(
Assets.svg.bell, Assets.svg.bell,