Correct save
This commit is contained in:
parent
53088a67a7
commit
9e83a2ec6a
|
|
@ -437,7 +437,7 @@ class _EntityListState extends State<EntityList> {
|
|||
.replaceFirst(':count', '$countSelected')),
|
||||
),
|
||||
SaveCancelButtons(
|
||||
isHeader: true,
|
||||
isHeader: false,
|
||||
saveLabel: localization.actions,
|
||||
isEnabled: entities.isNotEmpty,
|
||||
isCancelEnabled: true,
|
||||
|
|
|
|||
|
|
@ -295,6 +295,7 @@ class _UserDetailsState extends State<UserDetails>
|
|||
(b) => b..userCompany.settings.accentColor = value));
|
||||
},
|
||||
),
|
||||
if (state.company.isLarge)
|
||||
AppDropdownButton<int>(
|
||||
labelText: localization.numberYearsActive,
|
||||
value: user.userCompany.settings.numberYearsActive,
|
||||
|
|
|
|||
|
|
@ -209,7 +209,6 @@ class UserDetailsVM {
|
|||
appBuilder.rebuild();
|
||||
});
|
||||
|
||||
print('## HERE 1');
|
||||
confirmCallback(
|
||||
context: context,
|
||||
message: localization.changingPhoneDisablesTwoFactor,
|
||||
|
|
|
|||
|
|
@ -116,7 +116,6 @@ void passwordCallback({
|
|||
Function(String, String) callback,
|
||||
bool alwaysRequire = false,
|
||||
}) {
|
||||
print('## HERE 2a');
|
||||
final state = StoreProvider.of<AppState>(context).state;
|
||||
if (state.authState.hasRecentlyEnteredPassword && !alwaysRequire) {
|
||||
print('## hasRecentlyEnteredPassword...');
|
||||
|
|
@ -125,7 +124,6 @@ void passwordCallback({
|
|||
}
|
||||
|
||||
if (state.user.oauthProvider.isEmpty) {
|
||||
print('## HERE 2b');
|
||||
showDialog<Null>(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue