From a34bc764b4e4f1310ae408722f5eb8c281de05fd Mon Sep 17 00:00:00 2001 From: LuftVerbot <97435834+LuftVerbot@users.noreply.github.com> Date: Sun, 19 Nov 2023 15:04:24 +0100 Subject: [PATCH] renaming & ktlintCheck --- .github/workflows/build_pull_request.yml | 2 +- .github/workflows/build_push.yml | 2 +- .../more/settings/{PreferenceModel.kt => Preference.kt} | 0 ...DefaultChapterSettings.kt => SetMangaDefaultChapterFlags.kt} | 0 ...DefaultEpisodeSettings.kt => SetAnimeDefaultEpisodeFlags.kt} | 0 .../components/material/{IconButton.kt => IconButtonTokens.kt} | 0 .../presentation/core/util/{Preview.kt => ThemePreviews.kt} | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/java/eu/kanade/presentation/more/settings/{PreferenceModel.kt => Preference.kt} (100%) rename domain/src/main/java/tachiyomi/domain/items/chapter/interactor/{SetDefaultChapterSettings.kt => SetMangaDefaultChapterFlags.kt} (100%) rename domain/src/main/java/tachiyomi/domain/items/episode/interactor/{SetDefaultEpisodeSettings.kt => SetAnimeDefaultEpisodeFlags.kt} (100%) rename presentation-core/src/main/java/tachiyomi/presentation/core/components/material/{IconButton.kt => IconButtonTokens.kt} (100%) rename presentation-core/src/main/java/tachiyomi/presentation/core/util/{Preview.kt => ThemePreviews.kt} (100%) diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index b80a88639..794fe5cc5 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -37,4 +37,4 @@ jobs: - name: Build app and run unit tests uses: gradle/gradle-command-action@v2 with: - arguments: lintKotlin assembleStandardRelease testReleaseUnitTest \ No newline at end of file + arguments: ktlintCheck assembleStandardRelease testReleaseUnitTest \ No newline at end of file diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 2c220fe80..fadbea716 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -46,7 +46,7 @@ jobs: - name: Build app and run unit tests uses: gradle/gradle-command-action@v2 with: - arguments: lintKotlin assembleStandardRelease testReleaseUnitTest + arguments: ktlintCheck assembleStandardRelease testReleaseUnitTest # Sign APK and create release for tags diff --git a/app/src/main/java/eu/kanade/presentation/more/settings/PreferenceModel.kt b/app/src/main/java/eu/kanade/presentation/more/settings/Preference.kt similarity index 100% rename from app/src/main/java/eu/kanade/presentation/more/settings/PreferenceModel.kt rename to app/src/main/java/eu/kanade/presentation/more/settings/Preference.kt diff --git a/domain/src/main/java/tachiyomi/domain/items/chapter/interactor/SetDefaultChapterSettings.kt b/domain/src/main/java/tachiyomi/domain/items/chapter/interactor/SetMangaDefaultChapterFlags.kt similarity index 100% rename from domain/src/main/java/tachiyomi/domain/items/chapter/interactor/SetDefaultChapterSettings.kt rename to domain/src/main/java/tachiyomi/domain/items/chapter/interactor/SetMangaDefaultChapterFlags.kt diff --git a/domain/src/main/java/tachiyomi/domain/items/episode/interactor/SetDefaultEpisodeSettings.kt b/domain/src/main/java/tachiyomi/domain/items/episode/interactor/SetAnimeDefaultEpisodeFlags.kt similarity index 100% rename from domain/src/main/java/tachiyomi/domain/items/episode/interactor/SetDefaultEpisodeSettings.kt rename to domain/src/main/java/tachiyomi/domain/items/episode/interactor/SetAnimeDefaultEpisodeFlags.kt diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/components/material/IconButton.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/components/material/IconButtonTokens.kt similarity index 100% rename from presentation-core/src/main/java/tachiyomi/presentation/core/components/material/IconButton.kt rename to presentation-core/src/main/java/tachiyomi/presentation/core/components/material/IconButtonTokens.kt diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/util/Preview.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/util/ThemePreviews.kt similarity index 100% rename from presentation-core/src/main/java/tachiyomi/presentation/core/util/Preview.kt rename to presentation-core/src/main/java/tachiyomi/presentation/core/util/ThemePreviews.kt