Skip to content
Merged
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
1 change: 1 addition & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ https://github.com/gjwgit/myapp/blob/main/README.md
https://server/POD_NAME/APP_NAME/data/FILE_PATH
https://host/
https://pods.au/me/app/data
https://pub.dev/documentation/solidui/latest/solidui/SolidScaffold-class.html

# 20260605 gjw Failing solid servers

Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ The package is available from

## 1.1 Consolidate Android Login

+ Sync profile visibility state across sessions and browser refreshes #301
[1.0.14 20260626 amogh]
+ Fix unhandled keyring lock exceptions in login and auto-login #350
[1.0.13 20260626 amogh]
+ Migrate TEMPLATE from solidpod to solidui [1.0.15 20260629 tonypioneer]
+ Sync profile visibility state across sessions and browser refreshes #301 [1.0.14 20260626 amogh]
+ Fix unhandled keyring lock exceptions in login and auto-login #350 [1.0.13 20260626 amogh]
+ Show animation while obtaining key [1.0.12 20260626 anushkavidanage]
+ REGISTER popup. Change PASSWD from profile [1.0.11 20260623 tonypioneer]
+ Add account and change password dialogs (CSS v7+) [1.0.10 20260617 anushkavidanage]
+ Add account and change password dialogs (CSS v7+)
[1.0.10 20260617 anushkavidanage]
+ Support writing large files to external pod [1.0.9 20260618 tonypioneer]
+ Allow different version string colours appbar/menu [1.0.8 20260614 gjw]
+ Bump solid_auth token refresh fix [1.0.7 20260612 gjw]
Expand Down
26 changes: 16 additions & 10 deletions lib/src/widgets/create_account_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ Future<bool> createAccountPopup(

final outerContext = context;

BuildContext? dialogContext;

// Tracks whether the account was actually created, so callers can react
// (e.g. pre-fill the login form with the new email).

Expand Down Expand Up @@ -176,8 +178,9 @@ Future<bool> createAccountPopup(
bgColor = Colors.red;
duration = const Duration(seconds: 7);
} finally {
if (popDialog && context.mounted) {
Navigator.pop(context);
final dialogCtx = dialogContext;
if (popDialog && dialogCtx != null && dialogCtx.mounted) {
Navigator.pop(dialogCtx);
}
if (outerContext.mounted) {
showSnackBar(outerContext, msg, bgColor, duration: duration);
Expand Down Expand Up @@ -225,14 +228,17 @@ Future<bool> createAccountPopup(
if (context.mounted) {
await showDialog(
context: context,
builder: (context) => AlertDialog(
content: SingleChildScrollView(
child: createAccountForm,
),
contentPadding: EdgeInsets.zero,
backgroundColor: Colors.transparent,
elevation: 0,
),
builder: (builderContext) {
dialogContext = builderContext;
return AlertDialog(
content: SingleChildScrollView(
child: createAccountForm,
),
contentPadding: EdgeInsets.zero,
backgroundColor: Colors.transparent,
elevation: 0,
);
},
);
}

Expand Down
Loading