Skip to content

Commit 43bfe44

Browse files
committed
refactor: watch history widgets
1 parent 0ab76e2 commit 43bfe44

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Official documentation: [https://bsogulcan.github.io/another-iptv-player](https:
5050

5151
- The project name "Another IPTV Player" is inspired by [Another Redis Desktop Manager](https://github.com/qishibo/AnotherRedisDesktopManager).
5252
- This project uses [media_kit](https://github.com/media-kit/media-kit) as the cross-platform video & audio player for Flutter & Dart.
53+
- Special thanks to [JUL1EN094](https://github.com/JUL1EN094) for documenting and sharing detailed information about Xtream Code API implementation. See the [discussion](https://github.com/AndreyPavlenko/Fermata/discussions/434) for more details.
5354

5455
## Contributing
5556

lib/screens/watch_history/watch_history_screen.dart renamed to lib/screens/watch_history_screen.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import 'package:another_iptv_player/screens/watch_history/watch_history_card.dart';
2-
import 'package:another_iptv_player/screens/watch_history/watch_history_section.dart';
1+
import 'package:another_iptv_player/widgets/watch_history/watch_history_section.dart';
32
import 'package:flutter/material.dart';
43
import 'package:another_iptv_player/database/database.dart';
54
import 'package:another_iptv_player/models/content_type.dart';
@@ -10,8 +9,9 @@ import 'package:another_iptv_player/services/app_state.dart';
109
import 'package:another_iptv_player/services/watch_history_service.dart';
1110
import 'package:another_iptv_player/utils/navigate_by_content_type.dart';
1211
import 'package:another_iptv_player/utils/responsive_helper.dart';
13-
import '../../../services/service_locator.dart';
14-
import '../series/episode_screen.dart';
12+
import '../../services/service_locator.dart';
13+
import '../widgets/watch_history/watch_history_card.dart';
14+
import 'series/episode_screen.dart';
1515

1616
class WatchHistoryScreen extends StatefulWidget {
1717
final String playlistId;

lib/screens/xtream-codes/xtream_code_home_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'package:another_iptv_player/models/playlist_model.dart';
88
import 'package:another_iptv_player/repositories/iptv_repository.dart';
99
import 'package:another_iptv_player/screens/category_detail_screen.dart';
1010
import 'package:another_iptv_player/screens/xtream-codes/xtream_code_playlist_detail_screen.dart';
11-
import 'package:another_iptv_player/screens/watch_history/watch_history_screen.dart';
11+
import 'package:another_iptv_player/screens/watch_history_screen.dart';
1212
import 'package:another_iptv_player/services/app_state.dart';
1313
import 'package:another_iptv_player/utils/navigate_by_content_type.dart';
1414
import 'package:another_iptv_player/utils/responsive_helper.dart';
File renamed without changes.

lib/screens/watch_history/watch_history_section.dart renamed to lib/widgets/watch_history/watch_history_section.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:another_iptv_player/screens/watch_history/watch_history_card.dart';
1+
import 'package:another_iptv_player/widgets/watch_history/watch_history_card.dart';
22
import 'package:flutter/material.dart';
33
import 'package:another_iptv_player/models/watch_history.dart';
44

0 commit comments

Comments
 (0)