mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
fix hideSort not conform to currentTab
This commit is contained in:
parent
3b39a0dc44
commit
0fc98a9a76
@ -41,7 +41,7 @@ EdgeInsets? _menuPadding() {
|
||||
|
||||
class _PeerTabPageState extends State<PeerTabPage>
|
||||
with SingleTickerProviderStateMixin {
|
||||
bool _hideSort = bind.getLocalFlutterConfig(k: 'peer-tab-index') == '0';
|
||||
bool _hideSort = gFFI.peerTabModel.currentTab == 0;
|
||||
|
||||
final List<_TabEntry> entries = [
|
||||
_TabEntry(
|
||||
|
Loading…
Reference in New Issue
Block a user