Revert "fix: Use getValidAccessToken() in connectivity banner sync button"

This reverts commit 7015c160f0.
This commit is contained in:
Claude
2026-01-31 13:59:54 +00:00
parent 7015c160f0
commit b29e010de3

View File

@@ -101,15 +101,11 @@ class _ConnectivityBannerState extends State<ConnectivityBanner> {
return TextButton(
onPressed: _isSyncing
? null
: () async {
final accessToken = await authProvider.getValidAccessToken();
if (!context.mounted) return;
_handleSync(
: () => _handleSync(
context,
accessToken,
authProvider.tokens?.accessToken,
transactionsProvider,
);
},
),
style: TextButton.styleFrom(
foregroundColor: Colors.blue.shade900,
),