Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyrat committed Aug 24, 2023
1 parent d42ec3c commit 3bad94e
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 310 deletions.
7 changes: 7 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ We use Patrol integration testing framework to orchestrate navigation through th

0. Build:

BOTH:

Uncomment patrol dependency in pubspec.yaml and run `flutter pub get`

Above is needed until we can leave the dependency in permanently:
https://github.com/leancodepl/patrol/issues/681#issuecomment-1362021165

ios:

```
Expand Down
211 changes: 0 additions & 211 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
PODS:
- _NIODataStructures (2.40.0)
- argon2_ffi (0.0.1):
- Flutter
- barcode_scan2 (0.0.1):
Expand All @@ -8,15 +7,6 @@ PODS:
- SwiftProtobuf
- biometric_storage (0.0.1):
- Flutter
- CGRPCZlib (1.8.0)
- CNIOAtomics (2.40.0)
- CNIOBoringSSL (2.19.0)
- CNIOBoringSSLShims (2.19.0):
- CNIOBoringSSL (= 2.19.0)
- CNIODarwin (2.40.0)
- CNIOHTTPParser (2.40.0)
- CNIOLinux (2.40.0)
- CNIOWindows (2.40.0)
- device_info_plus (0.0.1):
- Flutter
- DKImagePickerController/Core (4.3.4):
Expand Down Expand Up @@ -60,27 +50,12 @@ PODS:
- Flutter
- flutter_native_splash (0.0.1):
- Flutter
- gRPC-Swift (1.8.0):
- CGRPCZlib (= 1.8.0)
- Logging (< 2.0.0, >= 1.4.0)
- SwiftNIO (< 3.0.0, >= 2.32.0)
- SwiftNIOExtras (< 2.0.0, >= 1.4.0)
- SwiftNIOHTTP2 (< 2.0.0, >= 1.22.0)
- SwiftNIOSSL (< 3.0.0, >= 2.14.0)
- SwiftNIOTransportServices (< 2.0.0, >= 1.11.1)
- SwiftProtobuf (< 2.0.0, >= 1.19.0)
- integration_test (0.0.1):
- Flutter
- Logging (1.4.0)
- MTBBarcodeScanner (5.0.11)
- package_info_plus (0.4.5):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- patrol (0.0.1):
- Flutter
- gRPC-Swift (~> 1.8.0)
- permission_handler_apple (9.1.1):
- Flutter
- SDWebImage (5.14.2):
Expand All @@ -93,136 +68,6 @@ PODS:
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- SwiftNIO (2.40.0):
- _NIODataStructures (= 2.40.0)
- CNIOAtomics (= 2.40.0)
- CNIODarwin (= 2.40.0)
- CNIOLinux (= 2.40.0)
- CNIOWindows (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOCore (= 2.40.0)
- SwiftNIOEmbedded (= 2.40.0)
- SwiftNIOPosix (= 2.40.0)
- SwiftNIOConcurrencyHelpers (2.40.0):
- CNIOAtomics (= 2.40.0)
- SwiftNIOCore (2.40.0):
- CNIOAtomics (= 2.40.0)
- CNIOLinux (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOEmbedded (2.40.0):
- _NIODataStructures (= 2.40.0)
- CNIOAtomics (= 2.40.0)
- CNIOLinux (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOCore (= 2.40.0)
- SwiftNIOExtras (1.11.0):
- _NIODataStructures (< 3, >= 2.32.0)
- CNIOAtomics (< 3, >= 2.32.0)
- CNIODarwin (< 3, >= 2.32.0)
- CNIOLinux (< 3, >= 2.32.0)
- CNIOWindows (< 3, >= 2.32.0)
- SwiftNIO (< 3, >= 2.32.0)
- SwiftNIOConcurrencyHelpers (< 3, >= 2.32.0)
- SwiftNIOCore (< 3, >= 2.32.0)
- SwiftNIOEmbedded (< 3, >= 2.32.0)
- SwiftNIOPosix (< 3, >= 2.32.0)
- SwiftNIOFoundationCompat (2.40.0):
- _NIODataStructures (= 2.40.0)
- CNIOAtomics (= 2.40.0)
- CNIODarwin (= 2.40.0)
- CNIOLinux (= 2.40.0)
- CNIOWindows (= 2.40.0)
- SwiftNIO (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOCore (= 2.40.0)
- SwiftNIOEmbedded (= 2.40.0)
- SwiftNIOPosix (= 2.40.0)
- SwiftNIOHPACK (1.22.0):
- _NIODataStructures (< 3, >= 2.35.0)
- CNIOAtomics (< 3, >= 2.35.0)
- CNIODarwin (< 3, >= 2.35.0)
- CNIOHTTPParser (< 3, >= 2.35.0)
- CNIOLinux (< 3, >= 2.35.0)
- CNIOWindows (< 3, >= 2.35.0)
- SwiftNIO (< 3, >= 2.35.0)
- SwiftNIOConcurrencyHelpers (< 3, >= 2.35.0)
- SwiftNIOCore (< 3, >= 2.35.0)
- SwiftNIOEmbedded (< 3, >= 2.35.0)
- SwiftNIOHTTP1 (< 3, >= 2.35.0)
- SwiftNIOPosix (< 3, >= 2.35.0)
- SwiftNIOHTTP1 (2.40.0):
- _NIODataStructures (= 2.40.0)
- CNIOAtomics (= 2.40.0)
- CNIODarwin (= 2.40.0)
- CNIOHTTPParser (= 2.40.0)
- CNIOLinux (= 2.40.0)
- CNIOWindows (= 2.40.0)
- SwiftNIO (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOCore (= 2.40.0)
- SwiftNIOEmbedded (= 2.40.0)
- SwiftNIOPosix (= 2.40.0)
- SwiftNIOHTTP2 (1.22.0):
- _NIODataStructures (< 3, >= 2.35.0)
- CNIOAtomics (< 3, >= 2.35.0)
- CNIODarwin (< 3, >= 2.35.0)
- CNIOHTTPParser (< 3, >= 2.35.0)
- CNIOLinux (< 3, >= 2.35.0)
- CNIOWindows (< 3, >= 2.35.0)
- SwiftNIO (< 3, >= 2.35.0)
- SwiftNIOConcurrencyHelpers (< 3, >= 2.35.0)
- SwiftNIOCore (< 3, >= 2.35.0)
- SwiftNIOEmbedded (< 3, >= 2.35.0)
- SwiftNIOHPACK (= 1.22.0)
- SwiftNIOHTTP1 (< 3, >= 2.35.0)
- SwiftNIOPosix (< 3, >= 2.35.0)
- SwiftNIOTLS (< 3, >= 2.35.0)
- SwiftNIOPosix (2.40.0):
- _NIODataStructures (= 2.40.0)
- CNIOAtomics (= 2.40.0)
- CNIODarwin (= 2.40.0)
- CNIOLinux (= 2.40.0)
- CNIOWindows (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOCore (= 2.40.0)
- SwiftNIOSSL (2.19.0):
- _NIODataStructures (< 3, >= 2.32.0)
- CNIOAtomics (< 3, >= 2.32.0)
- CNIOBoringSSL (= 2.19.0)
- CNIOBoringSSLShims (= 2.19.0)
- CNIODarwin (< 3, >= 2.32.0)
- CNIOLinux (< 3, >= 2.32.0)
- CNIOWindows (< 3, >= 2.32.0)
- SwiftNIO (< 3, >= 2.32.0)
- SwiftNIOConcurrencyHelpers (< 3, >= 2.32.0)
- SwiftNIOCore (< 3, >= 2.32.0)
- SwiftNIOEmbedded (< 3, >= 2.32.0)
- SwiftNIOPosix (< 3, >= 2.32.0)
- SwiftNIOTLS (< 3, >= 2.32.0)
- SwiftNIOTLS (2.40.0):
- _NIODataStructures (= 2.40.0)
- CNIOAtomics (= 2.40.0)
- CNIODarwin (= 2.40.0)
- CNIOLinux (= 2.40.0)
- CNIOWindows (= 2.40.0)
- SwiftNIO (= 2.40.0)
- SwiftNIOConcurrencyHelpers (= 2.40.0)
- SwiftNIOCore (= 2.40.0)
- SwiftNIOEmbedded (= 2.40.0)
- SwiftNIOPosix (= 2.40.0)
- SwiftNIOTransportServices (1.12.0):
- _NIODataStructures (< 3, >= 2.32.0)
- CNIOAtomics (< 3, >= 2.32.0)
- CNIODarwin (< 3, >= 2.32.0)
- CNIOLinux (< 3, >= 2.32.0)
- CNIOWindows (< 3, >= 2.32.0)
- SwiftNIO (< 3, >= 2.32.0)
- SwiftNIOConcurrencyHelpers (< 3, >= 2.32.0)
- SwiftNIOCore (< 3, >= 2.32.0)
- SwiftNIOEmbedded (< 3, >= 2.32.0)
- SwiftNIOFoundationCompat (< 3, >= 2.32.0)
- SwiftNIOPosix (< 3, >= 2.32.0)
- SwiftNIOTLS (< 3, >= 2.32.0)
- SwiftProtobuf (1.20.3)
- SwiftyGif (5.4.3)
- url_launcher_ios (0.0.1):
Expand All @@ -238,10 +83,8 @@ DEPENDENCIES:
- flutter_file_dialog (from `.symlinks/plugins/flutter_file_dialog/ios`)
- flutter_inapp_purchase (from `.symlinks/plugins/flutter_inapp_purchase/ios`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- patrol (from `.symlinks/plugins/patrol/ios`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- sensitive_clipboard (from `.symlinks/plugins/sensitive_clipboard/ios`)
- share_plus (from `.symlinks/plugins/share_plus/ios`)
Expand All @@ -250,34 +93,10 @@ DEPENDENCIES:

SPEC REPOS:
trunk:
- _NIODataStructures
- CGRPCZlib
- CNIOAtomics
- CNIOBoringSSL
- CNIOBoringSSLShims
- CNIODarwin
- CNIOHTTPParser
- CNIOLinux
- CNIOWindows
- DKImagePickerController
- DKPhotoGallery
- gRPC-Swift
- Logging
- MTBBarcodeScanner
- SDWebImage
- SwiftNIO
- SwiftNIOConcurrencyHelpers
- SwiftNIOCore
- SwiftNIOEmbedded
- SwiftNIOExtras
- SwiftNIOFoundationCompat
- SwiftNIOHPACK
- SwiftNIOHTTP1
- SwiftNIOHTTP2
- SwiftNIOPosix
- SwiftNIOSSL
- SwiftNIOTLS
- SwiftNIOTransportServices
- SwiftProtobuf
- SwiftyGif

Expand All @@ -300,14 +119,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_inapp_purchase/ios"
flutter_native_splash:
:path: ".symlinks/plugins/flutter_native_splash/ios"
integration_test:
:path: ".symlinks/plugins/integration_test/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
patrol:
:path: ".symlinks/plugins/patrol/ios"
permission_handler_apple:
:path: ".symlinks/plugins/permission_handler_apple/ios"
sensitive_clipboard:
Expand All @@ -320,18 +135,9 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
_NIODataStructures: 3d45d8e70a1d17a15b1dc59d102c63dbc0525ffd
argon2_ffi: 995b9260d81aa17f5d2a8a497f2d2763ba4c45f3
barcode_scan2: 0af2bb63c81b4565aab6cd78278e4c0fa136dbb0
biometric_storage: 1400f1382af3a4cc2bf05340e13c3d8de873ceb9
CGRPCZlib: 298dd3237ba4bd7b3eed109e7080ff3324b7d9c9
CNIOAtomics: 8edf08644e5e6fa0f021c239be9e8beb1cd9ef18
CNIOBoringSSL: 2c9c96c2e95f15e83fb8d26b9738d939cc39ae33
CNIOBoringSSLShims: c5c9346e7bbd1040f4f8793a35441dda7487539a
CNIODarwin: 93850990d29f2626b05306c6c9309f9be0d74c2f
CNIOHTTPParser: 8ce395236fa1d09ac3b4f4bcfba79b849b2ac684
CNIOLinux: 62e3505f50de558c393dc2f273dde71dcce518da
CNIOWindows: 3047f2d8165848a3936a0a755fee27c6b5ee479b
device_info_plus: 7545d84d8d1b896cb16a4ff98c19f07ec4b298ea
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
Expand All @@ -340,31 +146,14 @@ SPEC CHECKSUMS:
flutter_file_dialog: 4c014a45b105709a27391e266c277d7e588e9299
flutter_inapp_purchase: 5c6a1ac3f11b11d0c8c0321c0c41c1f05805e4c8
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
gRPC-Swift: 74adcaaa62ac5e0a018938840328cb1fdfb09e7b
integration_test: 13825b8a9334a850581300559b8839134b124670
Logging: beeb016c9c80cf77042d62e83495816847ef108b
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
patrol: a7622350c42b3a944962fbfe052d07e3691789e5
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
SDWebImage: b9a731e1d6307f44ca703b3976d18c24ca561e84
sensitive_clipboard: d4866e5d176581536c27bb1618642ee83adca986
share_plus: 599aa54e4ea31d4b4c0e9c911bcc26c55e791028
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
SwiftNIO: 829958aab300642625091f82fc2f49cb7cf4ef24
SwiftNIOConcurrencyHelpers: 697370136789b1074e4535eaae75cbd7f900370e
SwiftNIOCore: 473fdfe746534d7aa25766916459eeaf6f92ef49
SwiftNIOEmbedded: ffcb5147db67d9686c8366b7f8427b36132f2c8a
SwiftNIOExtras: 481f74d6bf0b0ef699905ed66439cb019c4975c9
SwiftNIOFoundationCompat: b9cdbea4806e4a12e9f66d9696fa3b98c4c3232b
SwiftNIOHPACK: e7d3ff5bd671528adfb11cd4e0c84ddfdc3c4453
SwiftNIOHTTP1: ef56706550a1dc135ea69d65215b9941e643c23b
SwiftNIOHTTP2: cc81d7a6ba70d2ddc5376f471904b27ef5d2b7b8
SwiftNIOPosix: b49af4bdbecaadfadd5c93dfe28594d6722b75e4
SwiftNIOSSL: d153c5a6fc5b2301b0519b4c4d037a9414212da6
SwiftNIOTLS: 598af547490133e9aac52aed0c23c4a90c31dcfc
SwiftNIOTransportServices: 0b2b407819d82eb63af558c5396e33c945759503
SwiftProtobuf: b02b5075dcf60c9f5f403000b3b0c202a11b6ae1
SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
Expand Down
5 changes: 3 additions & 2 deletions lib/widgets/account_create.dart
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class _AccountCreateWidgetState extends State<AccountCreateWidget> {
),
TextSpan(
text: str.localOnlyAgree2,
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor),
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor, fontWeight: FontWeight.bold),
recognizer: TapGestureRecognizer()
..onTap = () async {
await SubscriberTermsDialog().show(context);
Expand Down Expand Up @@ -559,7 +559,8 @@ class _AccountCreateWidgetState extends State<AccountCreateWidget> {
),
TextSpan(
text: str.localOnlyAgree2,
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor),
style:
theme.textTheme.bodyMedium!.copyWith(color: mainColor, fontWeight: FontWeight.bold),
recognizer: TapGestureRecognizer()
..onTap = () async {
await SubscriberTermsDialog().show(context);
Expand Down
10 changes: 6 additions & 4 deletions lib/widgets/free_user_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ class FreeUserTermsDialog extends StatelessWidget with DialogMixin<bool> {
onTap: followLink,
child: Text(
tosLink,
style: theme.textTheme.bodyMedium!
.copyWith(color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white),
style: theme.textTheme.bodyMedium!.copyWith(
color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white,
fontWeight: FontWeight.bold),
),
);
},
Expand All @@ -59,8 +60,9 @@ class FreeUserTermsDialog extends StatelessWidget with DialogMixin<bool> {
onTap: followLink,
child: Text(
privacyLink,
style: theme.textTheme.bodyMedium!
.copyWith(color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white),
style: theme.textTheme.bodyMedium!.copyWith(
color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white,
fontWeight: FontWeight.bold),
),
);
},
Expand Down
10 changes: 6 additions & 4 deletions lib/widgets/subscriber_terms_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ class SubscriberTermsDialog extends StatelessWidget with DialogMixin<bool> {
onTap: followLink,
child: Text(
tosLink,
style: theme.textTheme.bodyMedium!
.copyWith(color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white),
style: theme.textTheme.bodyMedium!.copyWith(
color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white,
fontWeight: FontWeight.bold),
),
);
},
Expand All @@ -79,8 +80,9 @@ class SubscriberTermsDialog extends StatelessWidget with DialogMixin<bool> {
onTap: followLink,
child: Text(
privacyLink,
style: theme.textTheme.bodyMedium!
.copyWith(color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white),
style: theme.textTheme.bodyMedium!.copyWith(
color: theme.brightness == Brightness.light ? theme.primaryColor : Colors.white,
fontWeight: FontWeight.bold),
),
);
},
Expand Down
3 changes: 2 additions & 1 deletion lib/widgets/vault_local_password_create.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class _VaultLocalOnlyCreateWidgetState extends State<VaultLocalOnlyCreateWidget>
Widget build(BuildContext context) {
final str = S.of(context);
final theme = Theme.of(context);
final mainColor = theme.brightness == Brightness.dark ? theme.colorScheme.secondary : theme.colorScheme.primary;
return Form(
key: _formKey,
child: Padding(
Expand Down Expand Up @@ -142,7 +143,7 @@ class _VaultLocalOnlyCreateWidgetState extends State<VaultLocalOnlyCreateWidget>
),
TextSpan(
text: str.localOnlyAgree2,
style: theme.textTheme.bodyMedium!.copyWith(color: theme.primaryColor),
style: theme.textTheme.bodyMedium!.copyWith(color: mainColor, fontWeight: FontWeight.bold),
recognizer: TapGestureRecognizer()
..onTap = () async {
await FreeUserTermsDialog().show(context);
Expand Down
Loading

0 comments on commit 3bad94e

Please sign in to comment.