opt: PeerTile center & keep peer search value

This commit is contained in:
csf
2022-09-23 17:35:20 +08:00
parent d2d531516a
commit c14490cdbf
2 changed files with 1 additions and 6 deletions

View File

@@ -42,9 +42,6 @@ class _PeerTabPageState extends State<PeerTabPage>
// hard code for now
Future<void> _handleTabSelection(int index) async {
// reset search text
peerSearchText.value = "";
peerSearchTextController.clear();
_tabIndex.value = index;
await bind.mainSetLocalOption(
key: 'peer-tab-index', value: index.toString());