package com.pixelized.desktop.lwa.utils.extention

import androidx.compose.runtime.Stable
import androidx.compose.ui.unit.LayoutDirection

val LayoutDirection.invert: LayoutDirection
    @Stable
    get() = when (this) {
        LayoutDirection.Ltr -> LayoutDirection.Rtl
        LayoutDirection.Rtl -> LayoutDirection.Ltr
    }