-
Notifications
You must be signed in to change notification settings - Fork 16
fix: npt refresh problems resolved. #1674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a000122
fix: text selection offset to text length to prevent text from being …
CurtlyCritchlow bb75706
fix: pinFocusNode moved to prevent being called after being disposed.
CurtlyCritchlow 1d8f5a5
fix: atsign fields two character issue fixed.
CurtlyCritchlow a0b06e9
fix: padding added to profile relay quick button so the text field la…
CurtlyCritchlow 794211c
fix: atsign fields refactored to ensure @ symbol is prefixed and no w…
CurtlyCritchlow a83619a
fix: error message is clearly show for relay text fields.
CurtlyCritchlow 81e937e
fix: settings list items reorganized in order of importance and width…
CurtlyCritchlow 79df17f
fix: removed the "-" from email and capitalize Back Up You Key in eng…
CurtlyCritchlow a9418f0
fix: refresh button remove from profile pop up menu item.
CurtlyCritchlow a93f2c0
fix: refresh button remove from profiles.
CurtlyCritchlow 787e105
fix: sync progress listener added to refresh profiles when local and …
CurtlyCritchlow c13d4df
fix: localization added for "sync in progress.".
CurtlyCritchlow f6c050a
Merge branch 'trunk' into 1615-npt-desktop-refresh-button
CurtlyCritchlow c35008d
Merge branch 'trunk' into 1615-npt-desktop-refresh-button
CurtlyCritchlow 276d279
fix: sync progress listener updates to ensure profile state is Profil…
CurtlyCritchlow 794098b
chore: commented out code removed.
CurtlyCritchlow c5fd1be
fix: atsignify method updated to trim string before doing anything else.
CurtlyCritchlow 19aec48
chore: build number updated.
CurtlyCritchlow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
packages/dart/npt_flutter/lib/features/onboarding/util/profile_progress_listener.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import 'dart:developer'; | ||
|
||
import 'package:at_client_mobile/at_client_mobile.dart'; | ||
import 'package:flutter_bloc/flutter_bloc.dart'; | ||
import 'package:npt_flutter/app.dart'; | ||
import 'package:npt_flutter/features/profile_list/bloc/profile_list_bloc.dart'; | ||
|
||
class ProfileProgressListener extends SyncProgressListener { | ||
@override | ||
void onSyncProgressEvent(SyncProgress syncProgress) { | ||
final profileListBlock = App.navState.currentContext!.read<ProfileListBloc>(); | ||
|
||
if (syncProgress.syncStatus == SyncStatus.success && | ||
(profileListBlock.state is ProfileListLoaded && | ||
(profileListBlock.state as ProfileListLoaded).profiles.isEmpty)) { | ||
profileListBlock.add(const ProfileListLoadEvent()); | ||
log('ProfileProgressListener: ProfileListLoadEvent triggered to reload profiles'); | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.