mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 16:25:17 +00:00
Start to build join group pane
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user