fix typos

This commit is contained in:
Aylur
2023-08-20 21:23:09 +02:00
parent 645af14730
commit a553366880
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -34,9 +34,9 @@ const _DEVICE_STATE = (device: NM.Device) => {
const _CONNECTIVITY_STATE = (client: NM.Client) => {
switch (client.connectivity) {
case NM.ConnectivityState.NONE: return 'none';
case NM.ConnectivityState.PORTAL: return 'none';
case NM.ConnectivityState.LIMITED: return 'none';
case NM.ConnectivityState.FULL: return 'none';
case NM.ConnectivityState.PORTAL: return 'portal';
case NM.ConnectivityState.LIMITED: return 'limited';
case NM.ConnectivityState.FULL: return 'full';
default: return 'unknown';
}
};
+1 -1
View File
@@ -69,7 +69,7 @@ export default class AgsWindow extends Gtk.Window {
}
_layer = 'top';
get layet() { return this._layer; }
get layer() { return this._layer; }
set layer(layer: string) {
this._layer;
GtkLayerShell.set_layer(this,