mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
fix: Minor sentry crashes
This commit is contained in:
parent
c2cbad7ffa
commit
9aa7d52792
@ -189,10 +189,10 @@ class SettingsNotifications extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (!snapshot.hasData) {
|
if (snapshot.connectionState != ConnectionState.done) {
|
||||||
Center(child: CircularProgressIndicator());
|
Center(child: CircularProgressIndicator());
|
||||||
}
|
}
|
||||||
final pushers = snapshot.data;
|
final pushers = snapshot.data ?? [];
|
||||||
return ListView.builder(
|
return ListView.builder(
|
||||||
physics: NeverScrollableScrollPhysics(),
|
physics: NeverScrollableScrollPhysics(),
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
|
@ -21,7 +21,7 @@ packages:
|
|||||||
name: adaptive_page_layout
|
name: adaptive_page_layout
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.2.2"
|
version: "0.2.3"
|
||||||
adaptive_theme:
|
adaptive_theme:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -33,7 +33,7 @@ dependencies:
|
|||||||
url_launcher: ^5.7.10
|
url_launcher: ^5.7.10
|
||||||
cached_network_image: ^2.5.0
|
cached_network_image: ^2.5.0
|
||||||
flutter_local_notifications: ^3.0.3
|
flutter_local_notifications: ^3.0.3
|
||||||
adaptive_page_layout: ^0.2.1
|
adaptive_page_layout: ^0.2.3
|
||||||
provider: ^4.3.3
|
provider: ^4.3.3
|
||||||
adaptive_theme: ^1.1.0
|
adaptive_theme: ^1.1.0
|
||||||
# desktop_notifications: ^0.0.0-dev.4 // Currently blocked by: https://github.com/canonical/desktop_notifications.dart/issues/5
|
# desktop_notifications: ^0.0.0-dev.4 // Currently blocked by: https://github.com/canonical/desktop_notifications.dart/issues/5
|
||||||
|
Loading…
Reference in New Issue
Block a user