chore: Follow up navigatorcontext fix
This commit is contained in:
parent
1d934c5353
commit
9238dbcd8d
3 changed files with 3 additions and 15 deletions
|
|
@ -680,10 +680,7 @@ class ChatListController extends State<ChatList>
|
|||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Matrix.of(context).navigatorContext = context;
|
||||
return ChatListView(this);
|
||||
}
|
||||
Widget build(BuildContext context) => ChatListView(this);
|
||||
|
||||
void _hackyWebRTCFixForWeb() {
|
||||
ChatList.contextForVoip = context;
|
||||
|
|
|
|||
|
|
@ -165,10 +165,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Matrix.of(context).navigatorContext = context;
|
||||
return HomeserverPickerView(this);
|
||||
}
|
||||
Widget build(BuildContext context) => HomeserverPickerView(this);
|
||||
|
||||
Future<void> restoreBackup() async {
|
||||
final picked = await FilePicker.platform.pickFiles(withData: true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue