Skip to content

Commit

Permalink
fix: Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Feb 1, 2024
1 parent ad5c38d commit 722b99e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/app/(public)/config/widgets/platform_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class _PlatformWidgetState extends State<PlatformWidget> {
Widget build(BuildContext context) {
return RxBuilder(builder: (_) {
final platforms = platformsState.value;
final platformSync = platformSyncState.value;

return Scaffold(
body: platforms.isEmpty
Expand Down Expand Up @@ -90,8 +91,7 @@ class _PlatformWidgetState extends State<PlatformWidget> {
mainAxisSize: MainAxisSize.min,
children: [
AnimatedSyncButton(
isSyncing:
platformSyncState.value.contains(platform.id),
isSyncing: platformSync.contains(platform.id),
onLongPressed: () async {
if (checkPlatformSyncing()) {
return;
Expand Down

0 comments on commit 722b99e

Please sign in to comment.