refactor: Update to Flutter 3.13.0
This commit is contained in:
parent
6445833283
commit
27d15612d9
44 changed files with 167 additions and 159 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue