1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Start to build join group pane

This commit is contained in:
2021-04-23 18:46:35 +02:00
parent 1fa4ed59d4
commit 0cd6ed284b
7 changed files with 123 additions and 24 deletions

View File

@ -35,6 +35,8 @@ class TourRouteState extends State<TourRoute> {
final pushNotificationsKey =
GlobalKey<PushNotificationsConfigurationWidgetState>();
final Map<int, GlobalKey> pubKeys = Map();
User currUser;
int _defaultIndex = 0;
@ -44,6 +46,8 @@ class TourRouteState extends State<TourRoute> {
await UsersHelper().getSingleWithThrow(userID(), forceDownload: true);
}
void rebuild() => setState(() {});
void setStateKeepCurrentIndex(BuildContext cxt) async {
_defaultIndex = DefaultTabController.of(cxt).index;
await _key.currentState.refresh();