diff --git a/.github/workflows/Analyze.yml b/.github/workflows/Analyze.yml new file mode 100644 index 000000000..a85250f5c --- /dev/null +++ b/.github/workflows/Analyze.yml @@ -0,0 +1,40 @@ +name: Analyze + +on: + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + strategy: + fail-fast: false + matrix: + language: [ 'java' ] + + steps: + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + + - uses: ./.github/actions/setup-java + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + + - name: Build project + run: ./gradlew :app-android:assemble --stacktrace + + - name: Perform analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}" diff --git a/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/Contents.json b/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/Contents.json index 8ae6d8617..a1eb9a569 100644 --- a/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/Contents.json +++ b/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/Contents.json @@ -1,7 +1,7 @@ { "images" : [ { - "filename" : "bookmarks.pdf", + "filename" : "trailing-icon 2.pdf", "idiom" : "universal" } ], diff --git a/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/bookmarks.pdf b/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/bookmarks.pdf deleted file mode 100644 index 1f28eb8e8..000000000 Binary files a/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/bookmarks.pdf and /dev/null differ diff --git a/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/trailing-icon 2.pdf b/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/trailing-icon 2.pdf new file mode 100644 index 000000000..9dbba338c Binary files /dev/null and b/app-ios/Modules/Sources/Assets/Resources/Icons.xcassets/bookmarks.imageset/trailing-icon 2.pdf differ diff --git a/app-ios/Modules/Sources/Timetable/TimetableView.swift b/app-ios/Modules/Sources/Timetable/TimetableView.swift index 9dbea55d7..4444d66ce 100644 --- a/app-ios/Modules/Sources/Timetable/TimetableView.swift +++ b/app-ios/Modules/Sources/Timetable/TimetableView.swift @@ -101,11 +101,13 @@ public struct TimetableView: View { NavigationLink(value: TimetableRouting.search) { Assets.Icons.search.swiftUIImage } + .buttonStyle(.plain) } ToolbarItem { NavigationLink(value: TimetableRouting.bookmark) { Assets.Icons.bookmarks.swiftUIImage } + .buttonStyle(.plain) } ToolbarItem { Assets.Icons.gridView.swiftUIImage