diff --git a/.github/workflows/desktop_build.yaml b/.github/workflows/desktop_build.yaml index 89acbcf..e2efc66 100644 --- a/.github/workflows/desktop_build.yaml +++ b/.github/workflows/desktop_build.yaml @@ -69,8 +69,8 @@ jobs: sudo apt-get install -y libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev - run: flutter doctor -v - # Checkout EyesCare code, recreate missing files, and get packages. - - name: Checkout EyesCare code + # Checkout Taline code, recreate missing files, and get packages. + - name: Checkout Taline code uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - run: flutter create . - run: flutter pub get @@ -90,7 +90,7 @@ jobs: working-directory: ${{ matrix.build_path }} - name: Compress build for Linux if: matrix.target == 'Linux' - run: tar czf $GITHUB_WORKSPACE/EyesCare${{ matrix.target }}.tar.gz * + run: tar czf $GITHUB_WORKSPACE/Taline${{ matrix.target }}.tar.gz * working-directory: ${{ matrix.build_path }} - name: Setup Node.js environment uses: actions/setup-node@v2 @@ -99,10 +99,10 @@ jobs: run: npm install -g appdmg - name: run appdmg if: matrix.target == 'macOS' - run: appdmg installer/dmg_creator/config.json $GITHUB_WORKSPACE/EyesCare${{ matrix.target }}.dmg + run: appdmg installer/dmg_creator/config.json $GITHUB_WORKSPACE/Taline${{ matrix.target }}.dmg - name: Compress build for Windows if: matrix.target == 'Windows' - run: compress-archive -Path * -DestinationPath ${env:GITHUB_WORKSPACE}\EyesCare${{ matrix.target }}.zip + run: compress-archive -Path * -DestinationPath ${env:GITHUB_WORKSPACE}\Taline${{ matrix.target }}.zip working-directory: ${{ matrix.build_path }} # Upload the build. @@ -113,6 +113,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.TOKEN }} with: upload_url: ${{ needs.draft-release.outputs.upload_url }} - asset_path: ./EyesCare${{ matrix.target }}${{ matrix.asset_extension }} - asset_name: EyesCare${{ matrix.target }}${{ matrix.asset_extension }} + asset_path: ./Taline${{ matrix.target }}${{ matrix.asset_extension }} + asset_name: Taline${{ matrix.target }}${{ matrix.asset_extension }} asset_content_type: ${{ matrix.asset_content_type }} \ No newline at end of file diff --git a/README.md b/README.md index b031869..3fbd77e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -EyesCare - Health & Fitness, Productivity  | Product Hunt -# Eyes Care Desktop App +Taline - Health & Fitness, Productivity  | Product Hunt +# Taline Desktop App -Eyes Care is a desktop application built with Flutter, designed to help users maintain healthy eyes by following the 20-20-20 rule. The app reminds users to take regular breaks and rest their eyes to reduce eye strain and prevent digital eye fatigue. +Taline is a desktop application built with Flutter, designed to help users maintain healthy eyes by following the 20-20-20 rule. The app reminds users to take regular breaks and rest their eyes to reduce eye strain and prevent digital eye fatigue. ## Screenshots @@ -11,7 +11,7 @@ Eyes Care is a desktop application built with Flutter, designed to help users ma ## Support - + @@ -29,6 +29,8 @@ Eyes Care is a desktop application built with Flutter, designed to help users ma - **Customizable Reminder:** Set personalized reminders to take breaks and rest your eyes based on your preferences, with options to follow the 20-20-20 rule or a custom time interval. - **Countdown Timer:** Monitor the time remaining until your next scheduled eye break, with a fully adjustable countdown timer feature to suit your needs. - **Notifications:** Get customizable desktop notifications or alerts to remind you when it's time for your next eye break with options for forcing take break mode. +- **Multi-language Support:** Available in multiple languages including English, Arabic, Spanish, French, German, Portuguese, Russian, Chinese, Japanese, Hindi, and Turkish. +- **Startup at Login:** Control whether Taline launches automatically when you log in to your computer. ## Coming soon @@ -44,13 +46,13 @@ Eyes Care is a desktop application built with Flutter, designed to help users ma ## Usage -1. Launch the Eyes Care app on your desktop. +1. Launch the Taline app on your desktop. 2. Start using the app, and it will notify you when it's time to take a break. 4. During each break, follow the 20-20-20 rule by looking at an object 20 feet away for 20 seconds. ## Contributing -We welcome contributions from the community to enhance the Eyes Care app. To contribute, please follow these steps: +We welcome contributions from the community to enhance the Taline app. To contribute, please follow these steps: 1. Fork the repository. 2. Create a new branch: `git checkout -b feature/your-feature-name` @@ -66,7 +68,7 @@ We welcome contributions from the community to enhance the Eyes Care app. To con - [rocket_timer](https://pub.dev/packages/rocket_timer) -Special thanks to these amazing projects from [LeanFlutter](https://github.com/leanflutter) which help power CareEyes: +Special thanks to these amazing projects from [LeanFlutter](https://github.com/leanflutter) which help power Taline: - [local_notifier](https://pub.dev/packages/local_notifier) - [window_manager](https://pub.dev/packages/window_manager) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index a8ff0aa..6c64504 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Keep Your Eyes + Taline CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index e0f892e..39bf45a 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -1,6 +1,6 @@ { "@@locale": "en", - "appTitle": "Eyes Care", + "appTitle": "Taline", "forceMode": "Force Mode", "forceModeSubtitle": "Prevent window minimization during breaks", "startupAtLogin": "Startup at Login", diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 0957cc4..416d1aa 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -119,7 +119,7 @@ abstract class AppLocalizations { /// No description provided for @appTitle. /// /// In en, this message translates to: - /// **'Eyes Care'** + /// **'Taline'** String get appTitle; /// No description provided for @forceMode. diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index 8262727..dc5f67f 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -9,7 +9,7 @@ class AppLocalizationsEn extends AppLocalizations { AppLocalizationsEn([String locale = 'en']) : super(locale); @override - String get appTitle => 'Eyes Care'; + String get appTitle => 'Taline'; @override String get forceMode => 'Force Mode'; diff --git a/lib/main.dart b/lib/main.dart index 7022c8f..fd1ad31 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -64,7 +64,7 @@ class CareYourEyes extends StatelessWidget { const secondaryColor = Color(0xFF32CD32); return MaterialApp( - title: 'Eyes Care', + title: 'Taline', debugShowCheckedModeBanner: false, locale: localeValue, localizationsDelegates: const [ diff --git a/lib/widgets/settings.dart b/lib/widgets/settings.dart index 5826ddd..2cf9826 100644 --- a/lib/widgets/settings.dart +++ b/lib/widgets/settings.dart @@ -15,13 +15,13 @@ class Settings extends StatelessWidget { final Function(int, int) onConfirm; const Settings({ - Key? key, + super.key, required this.reminder, required this.breakTime, required this.forceModeEnabled, required this.onConfirm, required this.startUpModeEnabled, - }) : super(key: key); + }); @override Widget build(BuildContext context) { @@ -244,6 +244,7 @@ class Settings extends StatelessWidget { PreferenceService.setLanguage(lang['code']!); Navigator.pop(context); }, + borderRadius: BorderRadius.circular(12), child: Container( decoration: BoxDecoration( diff --git a/macos/Runner/Configs/AppInfo.xcconfig b/macos/Runner/Configs/AppInfo.xcconfig index 45f2367..3da89a0 100644 --- a/macos/Runner/Configs/AppInfo.xcconfig +++ b/macos/Runner/Configs/AppInfo.xcconfig @@ -5,7 +5,7 @@ // 'flutter create' template. // The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = Eyes Care +PRODUCT_NAME = Taline // The application's bundle identifier PRODUCT_BUNDLE_IDENTIFIER = com.example.keepYourEyes diff --git a/pubspec.yaml b/pubspec.yaml index b84c797..ff18dc1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 2.0.3 +version: 2.0.4 environment: sdk: '>=3.7.0 <4.0.0'