From e44de263536a5baab61a6ada7296038a327b52cf Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 22 May 2021 09:13:47 +0200 Subject: [PATCH] refactor: Rename UI to Views --- lib/pages/chat.dart | 2 +- lib/pages/chat_details.dart | 2 +- lib/pages/chat_encryption_settings.dart | 2 +- lib/pages/chat_list.dart | 2 +- lib/pages/chat_permissions_settings.dart | 2 +- lib/pages/device_settings.dart | 2 +- lib/pages/homeserver_picker.dart | 2 +- lib/pages/image_viewer.dart | 2 +- lib/pages/invitation_selection.dart | 2 +- lib/pages/new_group.dart | 2 +- lib/pages/new_private_chat.dart | 2 +- lib/pages/search.dart | 2 +- lib/pages/settings.dart | 2 +- lib/pages/settings_3pid.dart | 2 +- lib/pages/settings_emotes.dart | 2 +- lib/pages/settings_ignore_list.dart | 2 +- lib/pages/settings_multiple_emotes.dart | 2 +- lib/pages/settings_notifications.dart | 2 +- lib/pages/settings_style.dart | 2 +- lib/pages/sign_up.dart | 2 +- lib/pages/sign_up_password.dart | 2 +- lib/pages/user_bottom_sheet.dart | 2 +- lib/pages/views/chat_details_view.dart | 4 ++-- lib/pages/views/chat_encryption_settings_view.dart | 5 +++-- lib/pages/views/chat_list_view.dart | 4 ++-- lib/pages/views/chat_permissions_settings_view.dart | 5 +++-- lib/pages/views/chat_view.dart | 4 ++-- lib/pages/views/device_settings_view.dart | 4 ++-- lib/pages/views/homeserver_picker_view.dart | 4 ++-- lib/pages/views/image_viewer_view.dart | 4 ++-- lib/pages/views/invitation_selection_view.dart | 4 ++-- lib/pages/views/new_group_view.dart | 4 ++-- lib/pages/views/new_private_chat_view.dart | 4 ++-- lib/pages/views/search_view.dart | 4 ++-- lib/pages/views/settings_3pid_view.dart | 4 ++-- lib/pages/views/settings_emotes_view.dart | 4 ++-- lib/pages/views/settings_ignore_list_view.dart | 4 ++-- lib/pages/views/settings_multiple_emotes_view.dart | 4 ++-- lib/pages/views/settings_notifications_view.dart | 4 ++-- lib/pages/views/settings_style_view.dart | 4 ++-- lib/pages/views/settings_view.dart | 4 ++-- lib/pages/views/sign_up_password_view.dart | 4 ++-- lib/pages/views/sign_up_view.dart | 4 ++-- lib/pages/views/user_bottom_sheet_view.dart | 4 ++-- 44 files changed, 68 insertions(+), 66 deletions(-) diff --git a/lib/pages/chat.dart b/lib/pages/chat.dart index 01e8ef92..fabbd5cd 100644 --- a/lib/pages/chat.dart +++ b/lib/pages/chat.dart @@ -653,5 +653,5 @@ class ChatController extends State { }); @override - Widget build(BuildContext context) => ChatUI(this); + Widget build(BuildContext context) => ChatView(this); } diff --git a/lib/pages/chat_details.dart b/lib/pages/chat_details.dart index b691fed7..812e9989 100644 --- a/lib/pages/chat_details.dart +++ b/lib/pages/chat_details.dart @@ -299,5 +299,5 @@ class ChatDetailsController extends State { } @override - Widget build(BuildContext context) => ChatDetailsUI(this); + Widget build(BuildContext context) => ChatDetailsView(this); } diff --git a/lib/pages/chat_encryption_settings.dart b/lib/pages/chat_encryption_settings.dart index 1f25eadf..263af4d0 100644 --- a/lib/pages/chat_encryption_settings.dart +++ b/lib/pages/chat_encryption_settings.dart @@ -61,5 +61,5 @@ class ChatEncryptionSettingsController extends State { } @override - Widget build(BuildContext context) => ChatEncryptionSettingsUI(this); + Widget build(BuildContext context) => ChatEncryptionSettingsView(this); } diff --git a/lib/pages/chat_list.dart b/lib/pages/chat_list.dart index a8864b28..6a80ae68 100644 --- a/lib/pages/chat_list.dart +++ b/lib/pages/chat_list.dart @@ -246,7 +246,7 @@ class ChatListController extends State { } @override - Widget build(BuildContext context) => ChatListUI(this); + Widget build(BuildContext context) => ChatListView(this); } enum ChatListPopupMenuItemActions { diff --git a/lib/pages/chat_permissions_settings.dart b/lib/pages/chat_permissions_settings.dart index f0dc7e6e..4b8258dd 100644 --- a/lib/pages/chat_permissions_settings.dart +++ b/lib/pages/chat_permissions_settings.dart @@ -92,5 +92,5 @@ class ChatPermissionsSettingsController extends State { } @override - Widget build(BuildContext context) => ChatPermissionsSettingsUI(this); + Widget build(BuildContext context) => ChatPermissionsSettingsView(this); } diff --git a/lib/pages/device_settings.dart b/lib/pages/device_settings.dart index 43799592..e0093f56 100644 --- a/lib/pages/device_settings.dart +++ b/lib/pages/device_settings.dart @@ -136,5 +136,5 @@ class DevicesSettingsController extends State { ..sort((a, b) => b.lastSeenTs.compareTo(a.lastSeenTs)); @override - Widget build(BuildContext context) => DevicesSettingsUI(this); + Widget build(BuildContext context) => DevicesSettingsView(this); } diff --git a/lib/pages/homeserver_picker.dart b/lib/pages/homeserver_picker.dart index 1e6b3975..f33c3af6 100644 --- a/lib/pages/homeserver_picker.dart +++ b/lib/pages/homeserver_picker.dart @@ -134,5 +134,5 @@ class HomeserverPickerController extends State { } @override - Widget build(BuildContext context) => HomeserverPickerUI(this); + Widget build(BuildContext context) => HomeserverPickerView(this); } diff --git a/lib/pages/image_viewer.dart b/lib/pages/image_viewer.dart index 898ccde5..2618f02e 100644 --- a/lib/pages/image_viewer.dart +++ b/lib/pages/image_viewer.dart @@ -38,5 +38,5 @@ class ImageViewerController extends State { } @override - Widget build(BuildContext context) => ImageViewerUI(this); + Widget build(BuildContext context) => ImageViewerView(this); } diff --git a/lib/pages/invitation_selection.dart b/lib/pages/invitation_selection.dart index 4afb58b1..5c28acf5 100644 --- a/lib/pages/invitation_selection.dart +++ b/lib/pages/invitation_selection.dart @@ -116,5 +116,5 @@ class InvitationSelectionController extends State { } @override - Widget build(BuildContext context) => InvitationSelectionUI(this); + Widget build(BuildContext context) => InvitationSelectionView(this); } diff --git a/lib/pages/new_group.dart b/lib/pages/new_group.dart index 5aebbcd9..2173a1f0 100644 --- a/lib/pages/new_group.dart +++ b/lib/pages/new_group.dart @@ -40,5 +40,5 @@ class NewGroupController extends State { } @override - Widget build(BuildContext context) => NewGroupUI(this); + Widget build(BuildContext context) => NewGroupView(this); } diff --git a/lib/pages/new_private_chat.dart b/lib/pages/new_private_chat.dart index 2d6abcbe..62198ebf 100644 --- a/lib/pages/new_private_chat.dart +++ b/lib/pages/new_private_chat.dart @@ -112,5 +112,5 @@ class NewPrivateChatController extends State { ); @override - Widget build(BuildContext context) => NewPrivateChatUI(this); + Widget build(BuildContext context) => NewPrivateChatView(this); } diff --git a/lib/pages/search.dart b/lib/pages/search.dart index 78c356b3..8bc8f1f7 100644 --- a/lib/pages/search.dart +++ b/lib/pages/search.dart @@ -139,5 +139,5 @@ class SearchController extends State { } @override - Widget build(BuildContext context) => SearchUI(this); + Widget build(BuildContext context) => SearchView(this); } diff --git a/lib/pages/settings.dart b/lib/pages/settings.dart index 11536099..cb9995cf 100644 --- a/lib/pages/settings.dart +++ b/lib/pages/settings.dart @@ -373,6 +373,6 @@ class SettingsController extends State { return c; }); } - return SettingsUI(this); + return SettingsView(this); } } diff --git a/lib/pages/settings_3pid.dart b/lib/pages/settings_3pid.dart index 0edccee9..7fb5a2e6 100644 --- a/lib/pages/settings_3pid.dart +++ b/lib/pages/settings_3pid.dart @@ -86,5 +86,5 @@ class Settings3PidController extends State { } @override - Widget build(BuildContext context) => Settings3PidUI(this); + Widget build(BuildContext context) => Settings3PidView(this); } diff --git a/lib/pages/settings_emotes.dart b/lib/pages/settings_emotes.dart index 142c27c1..2db462c1 100644 --- a/lib/pages/settings_emotes.dart +++ b/lib/pages/settings_emotes.dart @@ -295,6 +295,6 @@ class EmotesSettingsController extends State { } } } - return EmotesSettingsUI(this); + return EmotesSettingsView(this); } } diff --git a/lib/pages/settings_ignore_list.dart b/lib/pages/settings_ignore_list.dart index c057400b..45d829ce 100644 --- a/lib/pages/settings_ignore_list.dart +++ b/lib/pages/settings_ignore_list.dart @@ -36,5 +36,5 @@ class SettingsIgnoreListController extends State { } @override - Widget build(BuildContext context) => SettingsIgnoreListUI(this); + Widget build(BuildContext context) => SettingsIgnoreListView(this); } diff --git a/lib/pages/settings_multiple_emotes.dart b/lib/pages/settings_multiple_emotes.dart index 37847629..06d9fb77 100644 --- a/lib/pages/settings_multiple_emotes.dart +++ b/lib/pages/settings_multiple_emotes.dart @@ -14,5 +14,5 @@ class MultipleEmotesSettings extends StatefulWidget { class MultipleEmotesSettingsController extends State { @override - Widget build(BuildContext context) => MultipleEmotesSettingsUI(this); + Widget build(BuildContext context) => MultipleEmotesSettingsView(this); } diff --git a/lib/pages/settings_notifications.dart b/lib/pages/settings_notifications.dart index dbd4033f..85eb4f2d 100644 --- a/lib/pages/settings_notifications.dart +++ b/lib/pages/settings_notifications.dart @@ -108,5 +108,5 @@ class SettingsNotificationsController extends State { } @override - Widget build(BuildContext context) => SettingsNotificationsUI(this); + Widget build(BuildContext context) => SettingsNotificationsView(this); } diff --git a/lib/pages/settings_style.dart b/lib/pages/settings_style.dart index 2409463b..f61a5246 100644 --- a/lib/pages/settings_style.dart +++ b/lib/pages/settings_style.dart @@ -57,5 +57,5 @@ class SettingsStyleController extends State { } @override - Widget build(BuildContext context) => SettingsStyleUI(this); + Widget build(BuildContext context) => SettingsStyleView(this); } diff --git a/lib/pages/sign_up.dart b/lib/pages/sign_up.dart index 0406187a..0d186974 100644 --- a/lib/pages/sign_up.dart +++ b/lib/pages/sign_up.dart @@ -67,5 +67,5 @@ class SignUpController extends State { } @override - Widget build(BuildContext context) => SignUpUI(this); + Widget build(BuildContext context) => SignUpView(this); } diff --git a/lib/pages/sign_up_password.dart b/lib/pages/sign_up_password.dart index ff2a0454..d8ae631e 100644 --- a/lib/pages/sign_up_password.dart +++ b/lib/pages/sign_up_password.dart @@ -111,5 +111,5 @@ class SignUpPasswordController extends State { } @override - Widget build(BuildContext context) => SignUpPasswordUI(this); + Widget build(BuildContext context) => SignUpPasswordView(this); } diff --git a/lib/pages/user_bottom_sheet.dart b/lib/pages/user_bottom_sheet.dart index b59aea1a..dd161d15 100644 --- a/lib/pages/user_bottom_sheet.dart +++ b/lib/pages/user_bottom_sheet.dart @@ -91,5 +91,5 @@ class UserBottomSheetController extends State { } @override - Widget build(BuildContext context) => UserBottomSheetUI(this); + Widget build(BuildContext context) => UserBottomSheetView(this); } diff --git a/lib/pages/views/chat_details_view.dart b/lib/pages/views/chat_details_view.dart index 9b9f8a5b..2830ecff 100644 --- a/lib/pages/views/chat_details_view.dart +++ b/lib/pages/views/chat_details_view.dart @@ -18,10 +18,10 @@ import 'package:matrix_link_text/link_text.dart'; import '../../utils/url_launcher.dart'; -class ChatDetailsUI extends StatelessWidget { +class ChatDetailsView extends StatelessWidget { final ChatDetailsController controller; - const ChatDetailsUI(this.controller, {Key key}) : super(key: key); + const ChatDetailsView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/chat_encryption_settings_view.dart b/lib/pages/views/chat_encryption_settings_view.dart index 26f557e8..d4c3535b 100644 --- a/lib/pages/views/chat_encryption_settings_view.dart +++ b/lib/pages/views/chat_encryption_settings_view.dart @@ -7,10 +7,11 @@ import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; import '../../utils/device_extension.dart'; -class ChatEncryptionSettingsUI extends StatelessWidget { +class ChatEncryptionSettingsView extends StatelessWidget { final ChatEncryptionSettingsController controller; - const ChatEncryptionSettingsUI(this.controller, {Key key}) : super(key: key); + const ChatEncryptionSettingsView(this.controller, {Key key}) + : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/chat_list_view.dart b/lib/pages/views/chat_list_view.dart index 6837d6e7..c36794ef 100644 --- a/lib/pages/views/chat_list_view.dart +++ b/lib/pages/views/chat_list_view.dart @@ -10,10 +10,10 @@ import 'package:flutter/material.dart'; import '../../widgets/matrix.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class ChatListUI extends StatelessWidget { +class ChatListView extends StatelessWidget { final ChatListController controller; - const ChatListUI(this.controller, {Key key}) : super(key: key); + const ChatListView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/chat_permissions_settings_view.dart b/lib/pages/views/chat_permissions_settings_view.dart index 93de808d..90213f26 100644 --- a/lib/pages/views/chat_permissions_settings_view.dart +++ b/lib/pages/views/chat_permissions_settings_view.dart @@ -7,10 +7,11 @@ import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:famedlysdk/famedlysdk.dart'; -class ChatPermissionsSettingsUI extends StatelessWidget { +class ChatPermissionsSettingsView extends StatelessWidget { final ChatPermissionsSettingsController controller; - const ChatPermissionsSettingsUI(this.controller, {Key key}) : super(key: key); + const ChatPermissionsSettingsView(this.controller, {Key key}) + : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/chat_view.dart b/lib/pages/views/chat_view.dart index 30aa2a12..7a87e7d7 100644 --- a/lib/pages/views/chat_view.dart +++ b/lib/pages/views/chat_view.dart @@ -29,10 +29,10 @@ import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:scroll_to_index/scroll_to_index.dart'; import 'package:swipe_to_action/swipe_to_action.dart'; -class ChatUI extends StatelessWidget { +class ChatView extends StatelessWidget { final ChatController controller; - const ChatUI(this.controller, {Key key}) : super(key: key); + const ChatView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/device_settings_view.dart b/lib/pages/views/device_settings_view.dart index f79aeafd..4331fd4f 100644 --- a/lib/pages/views/device_settings_view.dart +++ b/lib/pages/views/device_settings_view.dart @@ -5,10 +5,10 @@ import 'package:flutter_gen/gen_l10n/l10n.dart'; import '../../widgets/list_items/user_device_list_item.dart'; -class DevicesSettingsUI extends StatelessWidget { +class DevicesSettingsView extends StatelessWidget { final DevicesSettingsController controller; - const DevicesSettingsUI(this.controller, {Key key}) : super(key: key); + const DevicesSettingsView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/homeserver_picker_view.dart b/lib/pages/views/homeserver_picker_view.dart index 0483fd6a..f91ef683 100644 --- a/lib/pages/views/homeserver_picker_view.dart +++ b/lib/pages/views/homeserver_picker_view.dart @@ -10,10 +10,10 @@ import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; -class HomeserverPickerUI extends StatelessWidget { +class HomeserverPickerView extends StatelessWidget { final HomeserverPickerController controller; - const HomeserverPickerUI(this.controller, {Key key}) : super(key: key); + const HomeserverPickerView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/image_viewer_view.dart b/lib/pages/views/image_viewer_view.dart index 7c997d10..cecfdfe6 100644 --- a/lib/pages/views/image_viewer_view.dart +++ b/lib/pages/views/image_viewer_view.dart @@ -3,10 +3,10 @@ import 'package:fluffychat/widgets/image_bubble.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class ImageViewerUI extends StatelessWidget { +class ImageViewerView extends StatelessWidget { final ImageViewerController controller; - const ImageViewerUI(this.controller, {Key key}) : super(key: key); + const ImageViewerView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/invitation_selection_view.dart b/lib/pages/views/invitation_selection_view.dart index 015516c8..47dcc87e 100644 --- a/lib/pages/views/invitation_selection_view.dart +++ b/lib/pages/views/invitation_selection_view.dart @@ -8,10 +8,10 @@ import 'package:fluffychat/widgets/matrix.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class InvitationSelectionUI extends StatelessWidget { +class InvitationSelectionView extends StatelessWidget { final InvitationSelectionController controller; - const InvitationSelectionUI(this.controller, {Key key}) : super(key: key); + const InvitationSelectionView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/new_group_view.dart b/lib/pages/views/new_group_view.dart index a887bcd4..8a3706d8 100644 --- a/lib/pages/views/new_group_view.dart +++ b/lib/pages/views/new_group_view.dart @@ -3,10 +3,10 @@ import 'package:fluffychat/widgets/layouts/max_width_body.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class NewGroupUI extends StatelessWidget { +class NewGroupView extends StatelessWidget { final NewGroupController controller; - const NewGroupUI(this.controller, {Key key}) : super(key: key); + const NewGroupView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/new_private_chat_view.dart b/lib/pages/views/new_private_chat_view.dart index 5f671461..ee9f9e00 100644 --- a/lib/pages/views/new_private_chat_view.dart +++ b/lib/pages/views/new_private_chat_view.dart @@ -8,10 +8,10 @@ import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:famedlysdk/famedlysdk.dart'; -class NewPrivateChatUI extends StatelessWidget { +class NewPrivateChatView extends StatelessWidget { final NewPrivateChatController controller; - const NewPrivateChatUI(this.controller, {Key key}) : super(key: key); + const NewPrivateChatView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/search_view.dart b/lib/pages/views/search_view.dart index 2873fded..2bbdae6c 100644 --- a/lib/pages/views/search_view.dart +++ b/lib/pages/views/search_view.dart @@ -11,10 +11,10 @@ import 'package:future_loading_dialog/future_loading_dialog.dart'; import '../../utils/localized_exception_extension.dart'; import '../search.dart'; -class SearchUI extends StatelessWidget { +class SearchView extends StatelessWidget { final SearchController controller; - const SearchUI(this.controller, {Key key}) : super(key: key); + const SearchView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_3pid_view.dart b/lib/pages/views/settings_3pid_view.dart index 1352898f..ea6b0de0 100644 --- a/lib/pages/views/settings_3pid_view.dart +++ b/lib/pages/views/settings_3pid_view.dart @@ -5,10 +5,10 @@ import 'package:fluffychat/widgets/matrix.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class Settings3PidUI extends StatelessWidget { +class Settings3PidView extends StatelessWidget { final Settings3PidController controller; - const Settings3PidUI(this.controller, {Key key}) : super(key: key); + const Settings3PidView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_emotes_view.dart b/lib/pages/views/settings_emotes_view.dart index ac2810d6..093ed5f2 100644 --- a/lib/pages/views/settings_emotes_view.dart +++ b/lib/pages/views/settings_emotes_view.dart @@ -7,10 +7,10 @@ import 'package:flutter_gen/gen_l10n/l10n.dart'; import '../../widgets/matrix.dart'; import '../settings_emotes.dart'; -class EmotesSettingsUI extends StatelessWidget { +class EmotesSettingsView extends StatelessWidget { final EmotesSettingsController controller; - const EmotesSettingsUI(this.controller, {Key key}) : super(key: key); + const EmotesSettingsView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_ignore_list_view.dart b/lib/pages/views/settings_ignore_list_view.dart index 56bb4489..1a81a68a 100644 --- a/lib/pages/views/settings_ignore_list_view.dart +++ b/lib/pages/views/settings_ignore_list_view.dart @@ -8,10 +8,10 @@ import 'package:flutter_gen/gen_l10n/l10n.dart'; import '../settings_ignore_list.dart'; import '../../widgets/matrix.dart'; -class SettingsIgnoreListUI extends StatelessWidget { +class SettingsIgnoreListView extends StatelessWidget { final SettingsIgnoreListController controller; - const SettingsIgnoreListUI(this.controller, {Key key}) : super(key: key); + const SettingsIgnoreListView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_multiple_emotes_view.dart b/lib/pages/views/settings_multiple_emotes_view.dart index aadfb6e0..896e5024 100644 --- a/lib/pages/views/settings_multiple_emotes_view.dart +++ b/lib/pages/views/settings_multiple_emotes_view.dart @@ -5,10 +5,10 @@ import 'package:flutter/material.dart'; import 'package:famedlysdk/famedlysdk.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class MultipleEmotesSettingsUI extends StatelessWidget { +class MultipleEmotesSettingsView extends StatelessWidget { final MultipleEmotesSettingsController controller; - MultipleEmotesSettingsUI(this.controller, {Key key}) : super(key: key); + MultipleEmotesSettingsView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_notifications_view.dart b/lib/pages/views/settings_notifications_view.dart index 80749f93..8d4266e5 100644 --- a/lib/pages/views/settings_notifications_view.dart +++ b/lib/pages/views/settings_notifications_view.dart @@ -11,10 +11,10 @@ import '../../utils/localized_exception_extension.dart'; import '../settings_notifications.dart'; import '../../widgets/matrix.dart'; -class SettingsNotificationsUI extends StatelessWidget { +class SettingsNotificationsView extends StatelessWidget { final SettingsNotificationsController controller; - const SettingsNotificationsUI(this.controller, {Key key}) : super(key: key); + const SettingsNotificationsView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_style_view.dart b/lib/pages/views/settings_style_view.dart index ed18e4f7..860a5fc1 100644 --- a/lib/pages/views/settings_style_view.dart +++ b/lib/pages/views/settings_style_view.dart @@ -7,10 +7,10 @@ import '../../config/app_config.dart'; import '../../widgets/matrix.dart'; import '../settings_style.dart'; -class SettingsStyleUI extends StatelessWidget { +class SettingsStyleView extends StatelessWidget { final SettingsStyleController controller; - const SettingsStyleUI(this.controller, {Key key}) : super(key: key); + const SettingsStyleView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/settings_view.dart b/lib/pages/views/settings_view.dart index abb91036..8feca874 100644 --- a/lib/pages/views/settings_view.dart +++ b/lib/pages/views/settings_view.dart @@ -18,10 +18,10 @@ import '../../config/app_config.dart'; import '../../config/setting_keys.dart'; import '../settings.dart'; -class SettingsUI extends StatelessWidget { +class SettingsView extends StatelessWidget { final SettingsController controller; - const SettingsUI(this.controller, {Key key}) : super(key: key); + const SettingsView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/sign_up_password_view.dart b/lib/pages/views/sign_up_password_view.dart index dc67e798..9500dae4 100644 --- a/lib/pages/views/sign_up_password_view.dart +++ b/lib/pages/views/sign_up_password_view.dart @@ -4,10 +4,10 @@ import 'package:fluffychat/widgets/layouts/one_page_card.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class SignUpPasswordUI extends StatelessWidget { +class SignUpPasswordView extends StatelessWidget { final SignUpPasswordController controller; - const SignUpPasswordUI(this.controller, {Key key}) : super(key: key); + const SignUpPasswordView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/sign_up_view.dart b/lib/pages/views/sign_up_view.dart index fe14b398..e9aaa46a 100644 --- a/lib/pages/views/sign_up_view.dart +++ b/lib/pages/views/sign_up_view.dart @@ -8,10 +8,10 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class SignUpUI extends StatelessWidget { +class SignUpView extends StatelessWidget { final SignUpController controller; - const SignUpUI(this.controller, {Key key}) : super(key: key); + const SignUpView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) { diff --git a/lib/pages/views/user_bottom_sheet_view.dart b/lib/pages/views/user_bottom_sheet_view.dart index 513a4506..cc9f915e 100644 --- a/lib/pages/views/user_bottom_sheet_view.dart +++ b/lib/pages/views/user_bottom_sheet_view.dart @@ -9,10 +9,10 @@ import '../user_bottom_sheet.dart'; import '../../utils/presence_extension.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; -class UserBottomSheetUI extends StatelessWidget { +class UserBottomSheetView extends StatelessWidget { final UserBottomSheetController controller; - const UserBottomSheetUI(this.controller, {Key key}) : super(key: key); + const UserBottomSheetView(this.controller, {Key key}) : super(key: key); @override Widget build(BuildContext context) {