Fix the problem that the download of remote resources failed after GeodataMode was turned on, which caused the application to flash back.

Fix edit profile error
This commit is contained in:
chen08209
2024-06-06 10:13:03 +08:00
parent fea3c14608
commit 52d61b15fd
7 changed files with 15 additions and 17 deletions

View File

@@ -139,9 +139,10 @@ class _ProfilesFragmentState extends State<ProfilesFragment> {
),
child: Selector2<AppState, Config, ProfilesSelectorState>(
selector: (_, appState, config) => ProfilesSelectorState(
profiles: config.profiles,
currentProfileId: config.currentProfileId,
viewMode: appState.viewMode),
profiles: config.profiles,
currentProfileId: config.currentProfileId,
viewMode: appState.viewMode,
),
builder: (context, state, child) {
if (state.profiles.isEmpty) {
return NullStatus(