💥 fix(control-center/tiles): can't enable networking after disabling
This commit is contained in:
@@ -136,7 +136,8 @@ export const TileNetwork = () =>
|
||||
}
|
||||
|
||||
// disable if no device available
|
||||
self.state = false;
|
||||
if(!AstalNetwork.get_default().wired && !AstalNetwork.get_default().wifi)
|
||||
self.state = false;
|
||||
}}
|
||||
/>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user