@@ -100,7 +100,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
100
100
),
101
101
isScrollControlled: true ,
102
102
context: context,
103
- backgroundColor: ThemeProvider .theme.backgroundColor ,
103
+ backgroundColor: ThemeProvider .theme.primaryColorLight ,
104
104
builder: (context) {
105
105
return ListView (shrinkWrap: true , children: [
106
106
Padding (
@@ -128,13 +128,12 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
128
128
height: 60 ,
129
129
width: double .infinity,
130
130
decoration: BoxDecoration (
131
- border: Border .all (color: Colors .white38),
132
- borderRadius: BorderRadius .only (
133
- topRight: Radius .circular (8 ),
134
- topLeft: Radius .circular (8 ),
135
- bottomLeft: Radius .circular (8 ),
136
- bottomRight: Radius .circular (8 ),
137
- ),
131
+ border: Border .all (
132
+ color: ThemeProvider .themeMode ==
133
+ ThemeMode .light
134
+ ? Colors .black38
135
+ : Colors .white38),
136
+ borderRadius: BorderRadius .circular (8 ),
138
137
color:
139
138
ThemeProvider .theme.primaryColorLight,
140
139
),
@@ -321,6 +320,8 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
321
320
'Torrent added successfully' ,
322
321
'Dismiss' );
323
322
323
+ ScaffoldMessenger .of (context)
324
+ .clearSnackBars ();
324
325
ScaffoldMessenger .of (context)
325
326
.showSnackBar (
326
327
addTorrentSnackbar);
@@ -394,7 +395,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
394
395
),
395
396
isScrollControlled: true ,
396
397
context: context,
397
- backgroundColor: ThemeProvider .theme.backgroundColor ,
398
+ backgroundColor: ThemeProvider .theme.primaryColorLight ,
398
399
builder: (context) {
399
400
return ListView (shrinkWrap: true , children: [
400
401
Padding (
@@ -609,6 +610,8 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
609
610
'Torrent added successfully' ,
610
611
'Dismiss' );
611
612
613
+ ScaffoldMessenger .of (context)
614
+ .clearSnackBars ();
612
615
ScaffoldMessenger .of (context)
613
616
.showSnackBar (addTorrentSnackbar);
614
617
Navigator .pop (context);
0 commit comments