Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed May 9, 2024
1 parent f45918b commit 53d3f06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
]);

devShells = let
mkShell = pkg: pkgs.mkShell {
mkShell = pkgs: pkg: pkgs.mkShell {
inherit (pkg) pname version name;
inputsFrom = [ pkg ];
packages = with pkgs; [
Expand All @@ -89,9 +89,9 @@
];
};
in {
default = mkShell self.packages.${system}.default;
default = mkShell pkgs self.packages.${system}.default;
} // lib.optionalAttrs (isAsahi) {
asahi = mkShell self.packages.${system}.asahi;
asahi = mkShell self.legacyPackages.${system}.pkgsAsahi self.packages.${system}.asahi;
};
})) // {
nixosConfigurations = let
Expand Down
2 changes: 1 addition & 1 deletion lib/logic/display.dart
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class DisplayServerToplevel extends ChangeNotifier {
Stream<DisplayServerToplevelNotify> get notify => _notifyCtrl.stream.asBroadcastStream();

StreamController<String> _reqCtrl = StreamController();
Stream<String> get req => _reqCtrl.stream;
Stream<String> get req => _reqCtrl.stream.asBroadcastStream();

String? _appId;
String? get appId => _appId;
Expand Down
6 changes: 3 additions & 3 deletions lib/logic/os/linux/power.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class LinuxPowerManager extends PowerManager {

@override
Stream<PowerDevice> get deviceAdded {
return _deviceAddedCtrl.stream;
return _deviceAddedCtrl.stream.asBroadcastStream();
}

@override
Stream<PowerDevice> get deviceRemoved {
return _deviceRemovedCtrl.stream;
return _deviceRemovedCtrl.stream.asBroadcastStream();
}

@override
Expand Down Expand Up @@ -116,7 +116,7 @@ class LinuxPowerDevice extends PowerDevice {

@override
Stream<List<String>> get changed {
return _device.propertiesChanged;
return _device.propertiesChanged.asBroadcastStream();
}

@override
Expand Down

0 comments on commit 53d3f06

Please sign in to comment.