Fix: An issue that would cause Matugen colors to not apply. (#929)
* Eslint updates * linter fixes * Type fixes * More type fixes * Fix isvis * More type fixes * Type Fixes * Consolidate logic to manage options * Linter fixes * Package lock update * Update configs * Version checker * Debug pipeline * Package lock update * Update ci * Strict check * Revert ci * Eslint * Remove rule since it causes issues in CI * Actual matugen fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import options from 'src/options';
|
||||
import { bind, Variable } from 'astal';
|
||||
import { Gtk } from 'astal/gtk3';
|
||||
import { systemTime } from 'src/globals/time';
|
||||
import { systemTime } from 'src/shared/time';
|
||||
|
||||
const { military, hideSeconds } = options.menus.clock.time;
|
||||
|
||||
@@ -16,7 +16,7 @@ export const MilitaryTime = (): JSX.Element => {
|
||||
<label
|
||||
className={'clock-content-time'}
|
||||
label={bind(systemTime).as((time) => {
|
||||
return time?.format(hideSeconds ? '%H:%M' : '%H:%M:%S') || '';
|
||||
return time?.format(hideSeconds ? '%H:%M' : '%H:%M:%S') ?? '';
|
||||
})}
|
||||
/>
|
||||
</box>
|
||||
|
||||
Reference in New Issue
Block a user