File tree Expand file tree Collapse file tree 7 files changed +28
-7
lines changed Expand file tree Collapse file tree 7 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,9 @@ class _RSSFilterDetailsState extends State<RSSFilterDetails> {
143
143
: Expanded (
144
144
child: Center (
145
145
child: SvgPicture .asset (
146
- 'assets/logo/empty.svg' ,
146
+ Theme .of (context).brightness == Brightness .light
147
+ ? 'assets/logo/empty.svg'
148
+ : 'assets/logo/empty_dark.svg' ,
147
149
width: 120 ,
148
150
height: 120 ,
149
151
),
Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ class _DownloadsPageState extends State<DownloadsPage> {
91
91
: Expanded (
92
92
child: Center (
93
93
child: SvgPicture .asset (
94
- 'assets/logo/empty.svg' ,
94
+ Theme .of (context).brightness == Brightness .light
95
+ ? 'assets/logo/empty.svg'
96
+ : 'assets/logo/empty_dark.svg' ,
95
97
width: 120 ,
96
98
height: 120 ,
97
99
),
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ class _RSSFeedsState extends State<RSSFeeds> {
65
65
: Expanded (
66
66
child: Center (
67
67
child: SvgPicture .asset (
68
- 'assets/logo/empty.svg' ,
68
+ Theme .of (context).brightness == Brightness .light
69
+ ? 'assets/logo/empty.svg'
70
+ : 'assets/logo/empty_dark.svg' ,
69
71
width: 120 ,
70
72
height: 120 ,
71
73
),
Original file line number Diff line number Diff line change @@ -92,7 +92,10 @@ class TorrentsListPage extends StatelessWidget {
92
92
mainAxisAlignment: MainAxisAlignment .center,
93
93
children: [
94
94
SvgPicture .asset (
95
- 'assets/logo/empty.svg' ,
95
+ Theme .of (context).brightness ==
96
+ Brightness .light
97
+ ? 'assets/logo/empty.svg'
98
+ : 'assets/logo/empty_dark.svg' ,
96
99
width: 120 ,
97
100
height: 120 ,
98
101
),
@@ -116,7 +119,9 @@ class TorrentsListPage extends StatelessWidget {
116
119
mainAxisAlignment: MainAxisAlignment .center,
117
120
children: [
118
121
SvgPicture .asset (
119
- 'assets/logo/empty.svg' ,
122
+ Theme .of (context).brightness == Brightness .light
123
+ ? 'assets/logo/empty.svg'
124
+ : 'assets/logo/empty_dark.svg' ,
120
125
width: 120 ,
121
126
height: 120 ,
122
127
),
Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ class _DiskExplorerState extends State<DiskExplorer> {
93
93
: Expanded (
94
94
child: Center (
95
95
child: SvgPicture .asset (
96
- 'assets/logo/empty.svg' ,
96
+ Theme .of (context).brightness == Brightness .light
97
+ ? 'assets/logo/empty.svg'
98
+ : 'assets/logo/empty_dark.svg' ,
97
99
width: 120 ,
98
100
height: 120 ,
99
101
),
Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ class _HistoryScreenState extends State<HistoryScreen> {
135
135
: Expanded (
136
136
child: Center (
137
137
child: SvgPicture .asset (
138
- 'assets/logo/empty.svg' ,
138
+ Theme .of (context).brightness == Brightness .light
139
+ ? 'assets/logo/empty.svg'
140
+ : 'assets/logo/empty_dark.svg' ,
139
141
width: 120 ,
140
142
height: 120 ,
141
143
),
You can’t perform that action at this time.
0 commit comments