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
|
|
@ -96,7 +96,7 @@ class ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
|
|||
KeyBoardShortcuts(
|
||||
keysToPress: {
|
||||
LogicalKeyboardKey.controlLeft,
|
||||
LogicalKeyboardKey.keyI
|
||||
LogicalKeyboardKey.keyI,
|
||||
},
|
||||
helpLabel: L10n.of(context)!.chatDetails,
|
||||
onKeysPressed: _showChatDetails,
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ Future<int?> showPermissionChooser(
|
|||
initialText: currentLevel.toString(),
|
||||
keyboardType: TextInputType.number,
|
||||
autocorrect: false,
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
if (customLevel == null) return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue