Skip to content

Commit 21c0a3b

Browse files
authored
fix: Removed deprecated code and unused import causing CI to fail (#59)
1 parent 8d39647 commit 21c0a3b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/api/api_requests.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class ApiRequests {
345345
'href': rssItem.url,
346346
'rss': labelHash,
347347
});
348-
var xmlResponse = xml.parse(response.body);
348+
var xmlResponse = xml.XmlDocument.parse(response.body);
349349

350350
var data =
351351
xmlResponse.lastChild.text; // extracting value stored in data tag

lib/pages/torrents_list_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import 'package:rutorrentflutter/components/torrent_tile.dart';
88
import 'package:rutorrentflutter/models/general_features.dart';
99
import 'package:rutorrentflutter/models/torrent.dart';
1010
import '../components/loading_shimmer.dart';
11-
import '../utilities/constants.dart';
1211

1312
class TorrentsListPage extends StatelessWidget {
1413
checkForActiveDownloads(Api api, GeneralFeatures general) async {

0 commit comments

Comments
 (0)