Fix refresh functionality

This commit is contained in:
2026-01-24 20:49:50 +01:00
parent 3c5ba001ab
commit a2b63083ad

View File

@@ -191,6 +191,9 @@ class _MyHomePageState extends State<MyHomePage> with RouteAware {
child: FutureBuilder(
future: sheets,
builder: (BuildContext context, AsyncSnapshot<List<Sheet>> snapshot) {
if (snapshot.connectionState != ConnectionState.done) {
return const Center(child: CircularProgressIndicator());
}
if (snapshot.hasData) {
return SheetsWidget(
sheets: snapshot.data!,