@@ -101,34 +101,34 @@ class UniversalNavbar extends StatelessWidget implements PreferredSizeWidget {
101101 child: Row (
102102 mainAxisAlignment: MainAxisAlignment .end,
103103 children: [
104- Container (
105- width: 36 ,
106- height: 36 ,
107- decoration: BoxDecoration (
108- color: Colors .white.withOpacity (0.2 ),
109- borderRadius: BorderRadius .circular (8 ),
110- border: Border .all (
111- color: Colors .white.withOpacity (0.3 ),
112- width: 1 ,
113- ),
114- ),
115- child: IconButton (
116- padding: EdgeInsets .zero,
117- icon: Icon (
118- themeProvider.isDarkMode
119- ? Icons .light_mode
120- : Icons .dark_mode,
121- color: Colors .white,
122- size: 18 ,
123- ),
124- onPressed: () {
125- themeProvider.toggleTheme ();
126- },
127- tooltip: themeProvider.isDarkMode
128- ? 'Switch to Light Mode'
129- : 'Switch to Dark Mode' ,
130- ),
131- ),
104+ // Container(
105+ // width: 36,
106+ // height: 36,
107+ // decoration: BoxDecoration(
108+ // color: Colors.white.withOpacity(0.2),
109+ // borderRadius: BorderRadius.circular(8),
110+ // border: Border.all(
111+ // color: Colors.white.withOpacity(0.3),
112+ // width: 1,
113+ // ),
114+ // ),
115+ // child: IconButton(
116+ // padding: EdgeInsets.zero,
117+ // icon: Icon(
118+ // themeProvider.isDarkMode
119+ // ? Icons.light_mode
120+ // : Icons.dark_mode,
121+ // color: Colors.white,
122+ // size: 18,
123+ // ),
124+ // onPressed: () {
125+ // themeProvider.toggleTheme();
126+ // },
127+ // tooltip: themeProvider.isDarkMode
128+ // ? 'Switch to Light Mode'
129+ // : 'Switch to Dark Mode',
130+ // ),
131+ // ),
132132 const SizedBox (width: 6 ),
133133 if (actions != null ) ...actions! ,
134134 if (walletProvider.isConnected &&
@@ -238,7 +238,8 @@ class UniversalNavbar extends StatelessWidget implements PreferredSizeWidget {
238238
239239 Widget _buildWalletMenu (BuildContext context, WalletProvider walletProvider) {
240240 return Container (
241- constraints: const BoxConstraints (maxWidth: 100 ), // Limit max width
241+ constraints: const BoxConstraints (maxWidth: 100 , minHeight: 20 ),
242+ // Limit max width
242243 decoration: BoxDecoration (
243244 color: Colors .white.withOpacity (0.95 ),
244245 borderRadius: BorderRadius .circular (16 ),
0 commit comments