Skip to content

Commit

Permalink
feat: rename widget DSProgressiveProgress
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Rossi committed Nov 13, 2023
1 parent 3073413 commit 8174526
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/blip_ds.dart
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ export 'src/widgets/utils/ds_cached_network_image_view.widget.dart'
show DSCachedNetworkImageView;
export 'src/widgets/utils/ds_card.widget.dart' show DSCard;
export 'src/widgets/utils/ds_chip.widget.dart' show DSChip;
export 'src/widgets/utils/ds_circular_progress.widget.dart'
show DSCircularProgress;
export 'src/widgets/utils/ds_divider.widget.dart' show DSDivider;
export 'src/widgets/utils/ds_expanded_image.widget.dart' show DSExpandedImage;
export 'src/widgets/utils/ds_file_extension_icon.util.dart'
show DSFileExtensionIcon;
export 'src/widgets/utils/ds_group_card.widget.dart' show DSGroupCard;
export 'src/widgets/utils/ds_header.widget.dart' show DSHeader;
export 'src/widgets/utils/ds_progress_bar.widget.dart' show DSProgressBar;
export 'src/widgets/utils/ds_progressive_progress.widget.dart'
show DSProgressiveProgress;
export 'src/widgets/utils/ds_user_avatar.widget.dart' show DSUserAvatar;
4 changes: 2 additions & 2 deletions lib/src/widgets/chat/ds_image_message_bubble.widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import '../../models/ds_document_select.model.dart';
import '../../models/ds_message_bubble_style.model.dart';
import '../../themes/colors/ds_colors.theme.dart';
import '../texts/ds_caption_text.widget.dart';
import '../utils/ds_circular_progress.widget.dart';
import '../utils/ds_expanded_image.widget.dart';
import '../utils/ds_progressive_progress.widget.dart';
import 'ds_document_select.widget.dart';
import 'ds_message_bubble.widget.dart';
import 'ds_show_more_text.widget.dart';
Expand Down Expand Up @@ -115,7 +115,7 @@ class _DSImageMessageBubbleState extends State<DSImageMessageBubble>
isLoading: false,
shouldAuthenticate: widget.shouldAuthenticate,
)
: DSProgressiveProgress(
: DSCircularProgress(
currentProgress: _controller.downloadProgress,
maximumProgress: _controller.maximumProgress,
foregroundColor: foregroundColor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import '../../../services/ds_auth.service.dart';
import '../../../themes/colors/ds_colors.theme.dart';
import '../../../themes/icons/ds_icons.dart';
import '../../buttons/ds_button.widget.dart';
import '../../utils/ds_progressive_progress.widget.dart';
import '../../utils/ds_circular_progress.widget.dart';
import '../ds_message_bubble.widget.dart';
import '../ds_show_more_text.widget.dart';
import 'ds_video_body.widget.dart';
Expand Down Expand Up @@ -131,7 +131,7 @@ class _DSVideoMessageBubbleState extends State<DSVideoMessageBubble>
color: DSColors.neutralDarkRooftop,
)
: _controller.isDownloading.value
? DSProgressiveProgress(
? DSCircularProgress(
currentProgress: _controller.downloadProgress,
maximumProgress: _controller.maximumProgress,
foregroundColor: foregroundColor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import 'package:get/get.dart';
import '../../themes/colors/ds_colors.theme.dart';
import '../texts/ds_caption_small_text.widget.dart';

class DSProgressiveProgress extends StatelessWidget {
class DSCircularProgress extends StatelessWidget {
final RxInt maximumProgress;
final RxInt currentProgress;
final Color? foregroundColor;

const DSProgressiveProgress({
const DSCircularProgress({
super.key,
required this.maximumProgress,
required this.currentProgress,
Expand Down

0 comments on commit 8174526

Please sign in to comment.