WT1.1.23 TrainingPlans generation extension, minor fixes
This commit is contained in:
@@ -696,6 +696,22 @@ class _ExplanationWidgetState extends State<ExplanationWidget> with Trans {
|
||||
color: Colors.transparent,
|
||||
child: Column(
|
||||
children: [
|
||||
Theme(
|
||||
data: ThemeData(unselectedWidgetColor: Colors.white38),
|
||||
child: CheckboxListTile(
|
||||
value: _selected,
|
||||
onChanged: (bool? checked) {
|
||||
setState(() {
|
||||
_selected = checked!;
|
||||
});
|
||||
},
|
||||
checkColor: Colors.white,
|
||||
activeColor: Colors.orange[600],
|
||||
controlAffinity: ListTileControlAffinity.leading,
|
||||
title: Text(
|
||||
t("Show this tip no more"),
|
||||
style: GoogleFonts.inter(color: Colors.grey),
|
||||
))),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 10, left: 10, right: 10),
|
||||
child: Text(t(expl.getExplanation(Explanations.intro)),
|
||||
@@ -805,22 +821,6 @@ class _ExplanationWidgetState extends State<ExplanationWidget> with Trans {
|
||||
),
|
||||
],
|
||||
)),
|
||||
Theme(
|
||||
data: ThemeData(unselectedWidgetColor: Colors.white38),
|
||||
child: CheckboxListTile(
|
||||
value: _selected,
|
||||
onChanged: (bool? checked) {
|
||||
setState(() {
|
||||
_selected = checked!;
|
||||
});
|
||||
},
|
||||
checkColor: Colors.white,
|
||||
activeColor: Colors.orange[600],
|
||||
controlAffinity: ListTileControlAffinity.leading,
|
||||
title: Text(
|
||||
t("Show this tip no more"),
|
||||
style: GoogleFonts.inter(color: Colors.grey),
|
||||
)))
|
||||
],
|
||||
));
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ class _MenuPageWidgetState extends State<MenuPageWidget> with Trans, Logging {
|
||||
}
|
||||
|
||||
Future runDelayedEvent() async {
|
||||
await Future.delayed(Duration(milliseconds: 3000), () async {
|
||||
await Future.delayed(Duration(milliseconds: 500), () async {
|
||||
if (Cache().userLoggedIn != null) {
|
||||
await initDynamicLinks();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user