refactor: Update to Flutter 3.13.0

This commit is contained in:
krille-chan 2023-08-18 07:24:31 +02:00
commit 27d15612d9
No known key found for this signature in database
44 changed files with 167 additions and 159 deletions

View file

@ -229,8 +229,8 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
bool webHasFocus = true;
String? get activeRoomId {
final route = FluffyChatApp.router.routeInformationProvider.value.location;
if (route == null || !route.startsWith('/rooms/')) return null;
final route = FluffyChatApp.router.routeInformationProvider.value.uri.path;
if (!route.startsWith('/rooms/')) return null;
return route.split('/')[2];
}