small fixes

This commit is contained in:
shilangyu 2020-09-30 20:10:13 +02:00
parent aa5d9832d6
commit c839da022d
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class AddAccountPage extends HookWidget {
return null;
}, [selectedInstance.value]);
// show a modal with a list of instance checkboxes
/// show a modal with a list of instance checkboxes
selectInstance() async {
final val = await showModalBottomSheet<String>(
backgroundColor: Colors.transparent,

View File

@ -88,7 +88,7 @@ abstract class _AccountsStore with Store {
void load() async {
final prefs = await SharedPreferences.getInstance();
// I barely understand what I did. Long story short it asserts a
// I barely understand what I did. Long story short it casts a
// raw json into a nested ObservableMap
nestedMapsCast<T>(String key, T f(Map<String, dynamic> json)) =>
ObservableMap.of(