Skip to content

Commit

Permalink
Merge pull request #26 from SiroDaves/desktop
Browse files Browse the repository at this point in the history
upgraded dependencies
  • Loading branch information
SiroDaves authored Jun 28, 2024
2 parents 99ce1a9 + 3f27666 commit c407cec
Show file tree
Hide file tree
Showing 16 changed files with 235 additions and 270 deletions.
6 changes: 3 additions & 3 deletions lib/common/theme/theme_colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class ThemeColors {
static const shadow = Color(0x1e000000); //black 12%
static const error = Color(0xFFE30000);

static const britamRed = Color(0xFFDC3444);
static PdfColor britamRedPdf = PdfColor(192, 0, 0, 255);
static PdfColor britamBluePdf = PdfColor(34, 65, 97, 255);
static const sirodavesRed = Color(0xFFDC3444);
static PdfColor sirodavesRedPdf = PdfColor(192, 0, 0, 255);
static PdfColor sirodavesBluePdf = PdfColor(34, 65, 97, 255);
static const whiteGrey = Color(0xFF868B9B);
static const gray = Color(0xFFEEEEEE);
static const success = Color(0xff116d5a);
Expand Down
2 changes: 1 addition & 1 deletion lib/common/utils/file_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Future<String> downloadDir() async {
}

/// Songlib directory
Future<String> britamDirx() async {
Future<String> sirodavesDirx() async {
Directory directory = Directory('/');
if (Platform.isMacOS) {
directory = Directory(
Expand Down
2 changes: 1 addition & 1 deletion lib/common/widgets/action/base_buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AppButton extends StatefulWidget {
this.borderColor = Colors.white,
this.foreColor = Colors.black,
this.hoverColor = ThemeColors.primaryDark,
this.downColor = ThemeColors.britamRed,
this.downColor = ThemeColors.sirodavesRed,
this.margin = const EdgeInsets.symmetric(
horizontal: Sizes.sm,
vertical: Sizes.xs,
Expand Down
2 changes: 1 addition & 1 deletion lib/common/widgets/features/image_carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class _ImageCauroselState extends State<ImageCaurosel> {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: currentIndex == entry.key
? ThemeColors.britamRed
? ThemeColors.sirodavesRed
: ThemeColors.primary),
),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/common/widgets/general/detail_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class DetailCard extends StatelessWidget {
overflow: TextOverflow.ellipsis,
maxLines: 1,
style:
const TextStyle(fontSize: 12, color: ThemeColors.britamRed),
const TextStyle(fontSize: 12, color: ThemeColors.sirodavesRed),
),
bottomWidget,
],
Expand Down
2 changes: 1 addition & 1 deletion lib/common/widgets/progress/custom_snackbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CustomSnackbar {
SnackBar(
duration: duration,
backgroundColor:
isSuccess ? ThemeColors.green : ThemeColors.britamRed,
isSuccess ? ThemeColors.green : ThemeColors.sirodavesRed,
content: Text(feedback),
),
);
Expand Down
48 changes: 24 additions & 24 deletions lib/di/injectable.config.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions lib/firebase_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,35 @@ class DefaultFirebaseOptions {
apiKey: 'AIzaSyBxRR1eXRt64WiDzzuk9vj0g54pB0VEpuc',
appId: '1:726072268756:web:a5b12fd6b1c5d5a16ba841',
messagingSenderId: '726072268756',
projectId: 'britam-agent',
authDomain: 'britam-agent.firebaseapp.com',
storageBucket: 'britam-agent.appspot.com',
projectId: 'sirodaves-agent',
authDomain: 'sirodaves-agent.firebaseapp.com',
storageBucket: 'sirodaves-agent.appspot.com',
measurementId: 'G-B1BJVX2PBM',
);

static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyDRaYZK1Z17EyX6braSOLObSDeKbGtW4UU',
appId: '1:726072268756:android:a670cf5c4e38799b6ba841',
messagingSenderId: '726072268756',
projectId: 'britam-agent',
storageBucket: 'britam-agent.appspot.com',
projectId: 'sirodaves-agent',
storageBucket: 'sirodaves-agent.appspot.com',
);

static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyD9QJOd5dlpXd7oTI2KPzMKGxgcS7RxzIs',
appId: '1:726072268756:ios:a7dff2be3afaa78a6ba841',
messagingSenderId: '726072268756',
projectId: 'britam-agent',
storageBucket: 'britam-agent.appspot.com',
projectId: 'sirodaves-agent',
storageBucket: 'sirodaves-agent.appspot.com',
iosBundleId: 'com.songlib',
);

static const FirebaseOptions macos = FirebaseOptions(
apiKey: 'AIzaSyD9QJOd5dlpXd7oTI2KPzMKGxgcS7RxzIs',
appId: '1:726072268756:ios:a7dff2be3afaa78a6ba841',
messagingSenderId: '726072268756',
projectId: 'britam-agent',
storageBucket: 'britam-agent.appspot.com',
projectId: 'sirodaves-agent',
storageBucket: 'sirodaves-agent.appspot.com',
iosBundleId: 'com.songlib',
);
}
2 changes: 1 addition & 1 deletion packages/pdf_viewer/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group 'com.britam.pdf_viewer'
group 'com.sirodaves.pdf_viewer'
version '1.0.7'

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion packages/pdf_viewer/android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.britam.pdf_viewer">
package="com.sirodaves.pdf_viewer">
</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.britam.pdf_viewer;
package com.sirodaves.pdf_viewer;

import android.annotation.SuppressLint;
import android.os.Build;
Expand Down
4 changes: 2 additions & 2 deletions packages/pdf_viewer/ios/pdf_viewer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Pod::Spec.new do |s|
s.description = <<-DESC
Allows you to generate PNG&#x27;s of specified pages from a provided PDF file source.
DESC
s.homepage = 'https://britam.com'
s.homepage = 'https://github.com/sirodaves'
s.license = { :file => '../LICENSE' }
s.author = { 'devs' => 'info@britam.com' }
s.author = { 'devs' => 'info@sirodaves.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
Expand Down
64 changes: 36 additions & 28 deletions packages/pdf_viewer/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "7.0.0"
fixnum:
dependency: transitive
description:
name: fixnum
sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -82,10 +90,10 @@ packages:
dependency: "direct main"
description:
name: flutter_cache_manager
sha256: "8207f27539deb83732fdda03e259349046a39a4c767269285f449ade355d54ba"
sha256: "395d6b7831f21f3b989ebedbb785545932adb9afe2622c1ffacf7f4b53a7e544"
url: "https://pub.dev"
source: hosted
version: "3.3.1"
version: "3.3.2"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -95,10 +103,10 @@ packages:
dependency: transitive
description:
name: http
sha256: d4872660c46d929f6b8a9ef4e7a7eff7e49bbf0c4ec3f385ee32df5119175139
sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
url: "https://pub.dev"
source: hosted
version: "1.1.2"
version: "1.2.1"
http_parser:
dependency: transitive
description:
Expand All @@ -119,26 +127,26 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.dev"
source: hosted
version: "10.0.0"
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.1"
matcher:
dependency: transitive
description:
Expand All @@ -159,10 +167,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.12.0"
numberpicker:
dependency: "direct main"
description:
Expand All @@ -183,10 +191,10 @@ packages:
dependency: "direct main"
description:
name: path_provider
sha256: a1aa8aaa2542a6bc57e381f132af822420216c80d4781f7aa085ca3229208aaa
sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.3"
path_provider_android:
dependency: transitive
description:
Expand All @@ -199,10 +207,10 @@ packages:
dependency: transitive
description:
name: path_provider_foundation
sha256: "19314d595120f82aca0ba62787d58dde2cc6b5df7d2f0daf72489e38d1b57f2d"
sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16
url: "https://pub.dev"
source: hosted
version: "2.3.1"
version: "2.4.0"
path_provider_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -276,10 +284,10 @@ packages:
dependency: transitive
description:
name: sqflite
sha256: "591f1602816e9c31377d5f008c2d9ef7b8aca8941c3f89cc5fd9d84da0c38a9a"
sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "2.3.3+1"
sqflite_common:
dependency: transitive
description:
Expand Down Expand Up @@ -332,10 +340,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.dev"
source: hosted
version: "0.6.1"
version: "0.7.0"
typed_data:
dependency: transitive
description:
Expand All @@ -348,10 +356,10 @@ packages:
dependency: transitive
description:
name: uuid
sha256: "22c94e5ad1e75f9934b766b53c742572ee2677c56bc871d850a57dad0f82127f"
sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8"
url: "https://pub.dev"
source: hosted
version: "4.2.2"
version: "4.4.0"
vector_math:
dependency: transitive
description:
Expand All @@ -364,18 +372,18 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.dev"
source: hosted
version: "13.0.0"
version: "14.2.1"
web:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "0.5.1"
win32:
dependency: transitive
description:
Expand All @@ -393,5 +401,5 @@ packages:
source: hosted
version: "1.0.3"
sdks:
dart: ">=3.2.0 <4.0.0"
flutter: ">=3.10.0"
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
Loading

0 comments on commit c407cec

Please sign in to comment.