Merge branch 'main' of https://github.com/vitorpamplona/amethyst
This commit is contained in:
@@ -74,6 +74,10 @@ jobs:
|
|||||||
- name: Test (gradle)
|
- name: Test (gradle)
|
||||||
run: ./gradlew test --no-daemon
|
run: ./gradlew test --no-daemon
|
||||||
|
|
||||||
|
- name: Stop Gradle Daemon
|
||||||
|
if: always()
|
||||||
|
run: ./gradlew --stop
|
||||||
|
|
||||||
- name: Android Test Report
|
- name: Android Test Report
|
||||||
uses: asadmansr/android-test-report-action@v1.2.0
|
uses: asadmansr/android-test-report-action@v1.2.0
|
||||||
if: ${{ always() && matrix.os == 'ubuntu-latest' }}
|
if: ${{ always() && matrix.os == 'ubuntu-latest' }}
|
||||||
@@ -191,6 +195,10 @@ jobs:
|
|||||||
- name: Build Desktop Distribution
|
- name: Build Desktop Distribution
|
||||||
run: ./gradlew :desktopApp:${{ matrix.task }}
|
run: ./gradlew :desktopApp:${{ matrix.task }}
|
||||||
|
|
||||||
|
- name: Stop Gradle Daemon
|
||||||
|
if: always()
|
||||||
|
run: ./gradlew --stop
|
||||||
|
|
||||||
- name: Upload Desktop Distribution
|
- name: Upload Desktop Distribution
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import androidx.compose.material3.TopAppBarState
|
|||||||
import androidx.compose.material3.rememberTopAppBarState
|
import androidx.compose.material3.rememberTopAppBarState
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.DisposableEffect
|
import androidx.compose.runtime.DisposableEffect
|
||||||
|
import androidx.compose.runtime.Stable
|
||||||
import androidx.compose.runtime.remember
|
import androidx.compose.runtime.remember
|
||||||
import androidx.compose.runtime.rememberCoroutineScope
|
import androidx.compose.runtime.rememberCoroutineScope
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
@@ -217,6 +218,7 @@ fun enterAlwaysScrollBehavior(
|
|||||||
* Custom copy of EnterAlwaysScrollBehavior that correctly handles reversed layouts
|
* Custom copy of EnterAlwaysScrollBehavior that correctly handles reversed layouts
|
||||||
*/
|
*/
|
||||||
@OptIn(ExperimentalMaterial3Api::class)
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
|
@Stable
|
||||||
class CustomEnterAlwaysScrollBehavior(
|
class CustomEnterAlwaysScrollBehavior(
|
||||||
override val state: TopAppBarState,
|
override val state: TopAppBarState,
|
||||||
override val snapAnimationSpec: AnimationSpec<Float>?,
|
override val snapAnimationSpec: AnimationSpec<Float>?,
|
||||||
|
|||||||
Reference in New Issue
Block a user