|
|
|
|
@ -41,6 +41,11 @@ class InstructionsController {
|
|
|
|
|
String transformTargetKey, [
|
|
|
|
|
bool showToggle = true,
|
|
|
|
|
]) async {
|
|
|
|
|
if (_instructionsShown[key] ?? false) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_instructionsShown[key] = true;
|
|
|
|
|
|
|
|
|
|
if (wereInstructionsTurnedOff(key)) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
@ -51,9 +56,6 @@ class InstructionsController {
|
|
|
|
|
);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (_instructionsShown[key] ?? false) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
final bool userLangsSet =
|
|
|
|
|
await _pangeaController.userController.areUserLanguagesSet;
|
|
|
|
|
@ -61,8 +63,6 @@ class InstructionsController {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_instructionsShown[key] = true;
|
|
|
|
|
|
|
|
|
|
final botStyle = BotStyle.text(context);
|
|
|
|
|
Future.delayed(
|
|
|
|
|
const Duration(seconds: 1),
|
|
|
|
|
|