Skip to content

Commit 0238322

Browse files
committed
add favorites_screen and update
1 parent 2de3252 commit 0238322

File tree

3 files changed

+11
-25
lines changed

3 files changed

+11
-25
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: windows-latest
1717
strategy:
1818
matrix:
19-
architecture: [x64, x86]
19+
architecture: [x64]
2020
steps:
2121
- name: Checkout code
2222
uses: actions/checkout@v4
@@ -49,12 +49,6 @@ jobs:
4949
copy windows\installer\ccloud_gui-setup.exe release\
5050
shell: cmd
5151

52-
- name: Create Windows ZIP (Installer)
53-
run: |
54-
cd release
55-
7z a -tzip CCloud-windows-${{ matrix.architecture }}-installer.zip ccloud_gui-setup.exe
56-
shell: cmd
57-
5852
- name: Create Windows Portable ZIP
5953
run: |
6054
mkdir -p release\portable
@@ -69,7 +63,6 @@ jobs:
6963
name: windows-build-${{ matrix.architecture }}
7064
path: |
7165
release/ccloud_gui-setup.exe
72-
release/CCloud-windows-${{ matrix.architecture }}-installer.zip
7366
release/CCloud-windows-${{ matrix.architecture }}-portable.zip
7467
7568
build-macos:
@@ -306,11 +299,6 @@ jobs:
306299
with:
307300
name: windows-build-x64
308301

309-
- name: Download Windows artifacts (x86)
310-
uses: actions/download-artifact@v4
311-
with:
312-
name: windows-build-x86
313-
314302
- name: Download macOS artifacts
315303
uses: actions/download-artifact@v4
316304
with:
@@ -344,10 +332,7 @@ jobs:
344332
prerelease: false
345333
files: |
346334
ccloud_gui-setup.exe
347-
CCloud-windows-x64-installer.zip
348335
CCloud-windows-x64-portable.zip
349-
CCloud-windows-x86-installer.zip
350-
CCloud-windows-x86-portable.zip
351336
CCloud-macos-universal.dmg
352337
CCloud-macos-universal.zip
353338
CCloud-linux.tar.gz
@@ -362,10 +347,7 @@ jobs:
362347
| Platform | Architecture | Download |
363348
|----------|-------------|----------|
364349
| Windows | x64 (Installer) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/ccloud_gui-setup.exe"><img src="https://img.shields.io/badge/Windows-Installer-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows Installer"></a> |
365-
| Windows | x64 (ZIP - Installer) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-windows-x64-installer.zip"><img src="https://img.shields.io/badge/Windows-x64--ZIP--Installer-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows x64 ZIP Installer"></a> |
366350
| Windows | x64 (Portable ZIP) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-windows-x64-portable.zip"><img src="https://img.shields.io/badge/Windows-x64--Portable--ZIP-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows x64 Portable ZIP"></a> |
367-
| Windows | x86 (Installer) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-windows-x86-installer.zip"><img src="https://img.shields.io/badge/Windows-x86--Installer-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows x86 Installer"></a> |
368-
| Windows | x86 (Portable ZIP) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-windows-x86-portable.zip"><img src="https://img.shields.io/badge/Windows-x86--Portable--ZIP-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows x86 Portable ZIP"></a> |
369351
| macOS | Universal (.dmg) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-macos-universal.dmg"><img src="https://img.shields.io/badge/macOS-Universal-000000?style=for-the-badge&logo=apple&logoColor=white" alt="macOS Universal DMG"></a> |
370352
| macOS | Universal (.zip) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-macos-universal.zip"><img src="https://img.shields.io/badge/macOS-Universal-000000?style=for-the-badge&logo=apple&logoColor=white" alt="macOS Universal ZIP"></a> |
371353
| Linux | x64 (tar.gz) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-linux.tar.gz"><img src="https://img.shields.io/badge/Linux-tar.gz-FCC624?style=for-the-badge&logo=linux&logoColor=black" alt="Linux tar.gz"></a> |

lib/src/screens/single_movie_screen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class _SingleMovieScreenState extends State<SingleMovieScreen> {
370370
),
371371
),
372372
subtitle: Text(
373-
source.type.toUpperCase(),
373+
source.type.isEmpty ? 'فرمت پیشفرض' : source.type.toUpperCase(),
374374
style: GoogleFonts.vazirmatn(
375375
fontSize: 14,
376376
color: Theme.of(
@@ -471,7 +471,7 @@ class _SingleMovieScreenState extends State<SingleMovieScreen> {
471471
),
472472
),
473473
Text(
474-
source.type.toUpperCase(),
474+
source.type.isEmpty ? 'فرمت پیشفرض' : source.type.toUpperCase(),
475475
style: GoogleFonts.vazirmatn(
476476
fontSize: 16,
477477
color: Theme.of(

lib/src/screens/single_series_screen.dart

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -593,14 +593,16 @@ class _SingleSeriesScreenState extends State<SingleSeriesScreen> {
593593
),
594594
child: ListTile(
595595
title: Text(
596-
source.quality,
596+
source.quality.isEmpty
597+
? 'کیفیت پیشفرض'
598+
: source.quality,
597599
style: GoogleFonts.vazirmatn(
598600
fontSize: 16,
599601
fontWeight: FontWeight.w600,
600602
),
601603
),
602604
subtitle: Text(
603-
source.type.toUpperCase(),
605+
source.type.isEmpty ? 'فرمت پیشفرض' : source.type.toUpperCase(),
604606
style: GoogleFonts.vazirmatn(
605607
fontSize: 14,
606608
color: Theme.of(
@@ -681,14 +683,16 @@ class _SingleSeriesScreenState extends State<SingleSeriesScreen> {
681683
crossAxisAlignment: CrossAxisAlignment.start,
682684
children: [
683685
Text(
684-
source.quality,
686+
source.quality.isEmpty
687+
? 'کیفیت پیشفرض'
688+
: source.quality,
685689
style: GoogleFonts.vazirmatn(
686690
fontSize: 20,
687691
fontWeight: FontWeight.bold,
688692
),
689693
),
690694
Text(
691-
source.type.toUpperCase(),
695+
source.type.isEmpty ? 'فرمت پیشفرض' : source.type.toUpperCase(),
692696
style: GoogleFonts.vazirmatn(
693697
fontSize: 16,
694698
color: Theme.of(

0 commit comments

Comments
 (0)