diff --git a/lib/home.dart b/lib/home.dart index c8b4c47..44367e4 100644 --- a/lib/home.dart +++ b/lib/home.dart @@ -1,6 +1,5 @@ import 'package:flutter/material.dart'; import 'package:oggauergemeindetrommler/LoginPage.dart'; -import 'AddPage.dart'; import 'UserDefinedList.dart'; class MyHomePage extends StatefulWidget { @@ -21,9 +20,9 @@ class _MyHomePageState extends State { @override Widget build(BuildContext context) { final List widgetOptions = [ - const GenericList(collectionName: 'CitizensForum'), - const GenericList(collectionName: 'News'), - const GenericList(collectionName: 'Issues'), + const GenericList(collectionName: 'CitizensForum', selectedIndex: 0,), + const GenericList(collectionName: 'News', selectedIndex: 1,), + const GenericList(collectionName: 'Issues', selectedIndex: 2,), LoginPage() ];