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
|
|
@ -184,7 +184,7 @@ class ChatListController extends State<ChatList>
|
|||
validator: (server) => server?.contains('.') == true
|
||||
? null
|
||||
: L10n.of(context)!.invalidServerName,
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
if (newServer == null) return;
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ class ChatListView extends StatelessWidget {
|
|||
floatingActionButton: KeyBoardShortcuts(
|
||||
keysToPress: {
|
||||
LogicalKeyboardKey.controlLeft,
|
||||
LogicalKeyboardKey.keyN
|
||||
LogicalKeyboardKey.keyN,
|
||||
},
|
||||
onKeysPressed: () => context.go('/rooms/newprivatechat'),
|
||||
helpLabel: L10n.of(context)!.newChat,
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ class ClientChooserButton extends StatelessWidget {
|
|||
KeyBoardShortcuts(
|
||||
keysToPress: {
|
||||
LogicalKeyboardKey.controlLeft,
|
||||
LogicalKeyboardKey.tab
|
||||
LogicalKeyboardKey.tab,
|
||||
},
|
||||
helpLabel: L10n.of(context)!.nextAccount,
|
||||
onKeysPressed: () => _nextAccount(matrix, context),
|
||||
|
|
@ -205,7 +205,7 @@ class ClientChooserButton extends StatelessWidget {
|
|||
keysToPress: {
|
||||
LogicalKeyboardKey.controlLeft,
|
||||
LogicalKeyboardKey.shiftLeft,
|
||||
LogicalKeyboardKey.tab
|
||||
LogicalKeyboardKey.tab,
|
||||
},
|
||||
helpLabel: L10n.of(context)!.previousAccount,
|
||||
onKeysPressed: () => _previousAccount(matrix, context),
|
||||
|
|
@ -235,7 +235,7 @@ class ClientChooserButton extends StatelessWidget {
|
|||
if (index > 0 && index < 10) {
|
||||
return {
|
||||
LogicalKeyboardKey.altLeft,
|
||||
LogicalKeyboardKey(0x00000000030 + index)
|
||||
LogicalKeyboardKey(0x00000000030 + index),
|
||||
};
|
||||
} else {
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ class _SpaceViewState extends State<SpaceView> {
|
|||
IconButton(
|
||||
onPressed: _refresh,
|
||||
icon: const Icon(Icons.refresh_outlined),
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ class _StoryButtonState extends State<_StoryButton> {
|
|||
],
|
||||
),
|
||||
),
|
||||
]
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue