Skip to content

Commit

Permalink
refactor: UI refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jhomlala committed Jun 23, 2024
1 parent 7db8d33 commit 522f94c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'package:alice/core/alice_core.dart';
import 'package:alice/helper/alice_save_helper.dart';
import 'package:alice/model/alice_http_call.dart';
import 'package:alice/ui/call_details/model/alice_call_details_tab.dart';
import 'package:alice/ui/call_details/widget/alice_call_error_widget.dart';
import 'package:alice/ui/call_details/widget/alice_call_error_screen.dart';
import 'package:alice/ui/call_details/widget/alice_call_overview_screen.dart';
import 'package:alice/ui/call_details/widget/alice_call_request_widget.dart';
import 'package:alice/ui/call_details/widget/alice_call_response_widget.dart';
import 'package:alice/ui/call_details/widget/alice_call_request_screen.dart';
import 'package:alice/ui/call_details/widget/alice_call_response_screen.dart';
import 'package:alice/ui/common/alice_page.dart';
import 'package:alice/utils/alice_theme.dart';
import 'package:collection/collection.dart' show IterableExtension;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import 'package:alice/ui/calls_list/model/alice_calls_list_tab_item.dart';
import 'package:alice/ui/calls_list/widget/alice_sort_dialog.dart';
import 'package:alice/ui/common/alice_navigation.dart';
import 'package:alice/ui/common/alice_page.dart';
import 'package:alice/ui/calls_list/widget/alice_calls_list_widget.dart';
import 'package:alice/ui/calls_list/widget/alice_calls_list_screen.dart';
import 'package:alice/ui/calls_list/widget/alice_empty_logs_widget.dart';
import 'package:alice/ui/calls_list/widget/alice_logs_widget.dart';
import 'package:alice/ui/calls_list/widget/alice_logs_screen.dart';
import 'package:alice/utils/alice_theme.dart';
import 'package:flutter/material.dart';

Expand Down Expand Up @@ -130,7 +130,7 @@ class _AliceCallsListPageState extends State<AliceCallsListPage>
.contains(query.toLowerCase()));
}
if (calls.isNotEmpty) {
return AliceCallsListWidget(
return AliceCallsListScreen(
calls: calls,
sortOption: _sortOption,
sortAscending: _sortAscending,
Expand All @@ -141,7 +141,7 @@ class _AliceCallsListPageState extends State<AliceCallsListPage>
}
},
),
AliceLogsWidget(
AliceLogsScreen(
scrollController: _scrollController,
aliceLogger: widget.logger,
isAndroidRawLogsEnabled: isAndroidRawLogsEnabled,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import 'package:alice/ui/calls_list/widget/alice_call_list_item_widget.dart';
import 'package:alice/utils/alice_scroll_behavior.dart';
import 'package:flutter/material.dart';

class AliceCallsListWidget extends StatelessWidget {
const AliceCallsListWidget({
class AliceCallsListScreen extends StatelessWidget {
const AliceCallsListScreen({
super.key,
required this.calls,
this.sortOption,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import 'package:alice/ui/calls_list/widget/alice_log_list_widget.dart';
import 'package:alice/ui/calls_list/widget/alice_raw_log_list_widger.dart';
import 'package:flutter/material.dart';

class AliceLogsWidget extends StatelessWidget {
const AliceLogsWidget({
class AliceLogsScreen extends StatelessWidget {
const AliceLogsScreen({
super.key,
required this.scrollController,
this.aliceLogger,
Expand Down

0 comments on commit 522f94c

Please sign in to comment.