Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mobile/lib/features/activity/activity_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import '../../shared/theme/theme.dart';
import '../../shared/utils/string_utils.dart';
import '../../shared/widgets/avatar_image.dart';
import '../../shared/widgets/anchored_popover_menu.dart';
import '../../shared/widgets/bee_refresh_indicator.dart';
import '../../shared/widgets/buzz_loading_indicator.dart';
import '../../shared/widgets/frosted_app_bar.dart';
import '../../shared/widgets/frosted_scaffold.dart';
Expand Down Expand Up @@ -318,7 +319,7 @@ class ActivityPage extends HookConsumerWidget {
: -1;

bodyRidesOverTopSection = true;
body = RefreshIndicator(
body = BeeRefreshIndicator(
edgeOffset: topSectionHeight,
onRefresh: refresh,
child: CustomScrollView(
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/features/activity/activity_page/lists.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _RemindersList extends ConsumerWidget {
}

final now = DateTime.now().millisecondsSinceEpoch ~/ 1000;
return RefreshIndicator(
return BeeRefreshIndicator(
onRefresh: onRefresh,
child: ListView.builder(
controller: scrollController,
Expand Down
1 change: 1 addition & 0 deletions mobile/lib/features/channels/channels_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import '../../shared/relay/relay.dart';
import '../../shared/theme/theme.dart';
import '../../shared/widgets/avatar_image.dart';
import '../../shared/widgets/anchored_popover_menu.dart';
import '../../shared/widgets/bee_refresh_indicator.dart';
import '../../shared/widgets/buzz_loading_indicator.dart';
import '../../shared/widgets/frosted_app_bar.dart';
import '../../shared/widgets/frosted_scaffold.dart';
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/features/channels/channels_page/body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class _ChannelsBody extends StatelessWidget {
)
: loadedChannels == null
? const SizedBox.shrink()
: RefreshIndicator(
: BeeRefreshIndicator(
edgeOffset: barHeight,
onRefresh: onRefresh,
child: CustomScrollView(
Expand Down
3 changes: 2 additions & 1 deletion mobile/lib/features/forum/forum_posts_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'package:lucide_icons_flutter/lucide_icons.dart';
import '../../shared/theme/theme.dart';
import '../../shared/widgets/buzz_loading_indicator.dart';
import '../../shared/widgets/frosted_app_bar.dart';
import '../../shared/widgets/bee_refresh_indicator.dart';
import '../channels/channel.dart';
import '../channels/compose_bar.dart';
import 'forum_models.dart';
Expand Down Expand Up @@ -92,7 +93,7 @@ class ForumPostsView extends HookConsumerWidget {
isArchived: channel.isArchived,
);
}
return RefreshIndicator(
return BeeRefreshIndicator(
Comment thread
klopez4212 marked this conversation as resolved.
onRefresh: () async {
ref.invalidate(forumPostsProvider(channel.id));
await ref.read(forumPostsProvider(channel.id).future);
Expand Down
6 changes: 2 additions & 4 deletions mobile/lib/features/pulse/pulse_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:lucide_icons_flutter/lucide_icons.dart';
import '../../shared/relay/relay.dart';
import '../../shared/theme/theme.dart';
import '../../shared/widgets/filter_chip_bar.dart';
import '../../shared/widgets/bee_refresh_indicator.dart';
import '../../shared/widgets/frosted_app_bar.dart';
import '../../shared/widgets/frosted_scaffold.dart';
import 'agent_activity_card.dart';
Expand Down Expand Up @@ -99,7 +100,7 @@ class PulsePage extends HookConsumerWidget {
],
),
Expanded(
child: RefreshIndicator(
child: BeeRefreshIndicator(
onRefresh: () async => _refresh(ref, active.value, currentPubkey),
child: _PulseBody(
tab: active.value,
Expand Down Expand Up @@ -171,7 +172,6 @@ class _PulseBody extends ConsumerWidget {
if (tab == PulseTab.agents) {
final groups = groupAgentNotes(notes);
return ListView.separated(
physics: const AlwaysScrollableScrollPhysics(),
padding: const EdgeInsets.fromLTRB(
Grid.gutter,
Grid.xxs,
Expand All @@ -188,7 +188,6 @@ class _PulseBody extends ConsumerWidget {
);
}
return ListView.separated(
physics: const AlwaysScrollableScrollPhysics(),
padding: const EdgeInsets.fromLTRB(
Grid.gutter,
Grid.xxs,
Expand Down Expand Up @@ -243,7 +242,6 @@ class _MessageListShell extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ListView(
physics: const AlwaysScrollableScrollPhysics(),
padding: const EdgeInsets.all(Grid.xs),
children: [SizedBox(height: 260, child: Center(child: child))],
);
Expand Down
Loading