Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak13gupta committed Jul 9, 2023
1 parent 1dc0a9f commit 3f10d79
Show file tree
Hide file tree
Showing 7 changed files with 216 additions and 168 deletions.
1 change: 0 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ dependencies {
implementation platform('com.google.firebase:firebase-bom:31.5.0')
implementation 'com.google.firebase:firebase-messaging'

implementation 'com.google.firebase:firebase-analytics-ktx'

implementation 'info.guardianproject:tor-android:0.4.7.8'
implementation 'info.guardianproject:jtorctl:0.4.5.7'
Expand Down
18 changes: 18 additions & 0 deletions ios/Flutter/Flutter.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# NOTE: This podspec is NOT to be published. It is only used as a local source!
# This is a generated file; do not edit or check into version control.
#

Pod::Spec.new do |s|
s.name = 'Flutter'
s.version = '1.0.0'
s.summary = 'A UI toolkit for beautiful and fast apps.'
s.homepage = 'https://flutter.dev'
s.license = { :type => 'BSD' }
s.author = { 'Flutter Dev Team' => '[email protected]' }
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
# Framework linking is handled by Flutter tooling, not CocoaPods.
# Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs.
s.vendored_frameworks = 'path/to/nothing'
end
4 changes: 3 additions & 1 deletion lib/routes/marketplace/vendor_row.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class VendorRow extends StatelessWidget {
? 73
: (_vendor.id == 'LNCal')
? 56
: 48,
: (_vendor.id == 'Snort')
? 100
: 48,
width: _vendor.onlyShowLogo
? (_vendor.id == 'Bitrefill' || _vendor.id == "Azteco")
? 156
Expand Down
5 changes: 5 additions & 0 deletions lib/services/breezlib/breez_bridge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ class BreezBridge {
).then((value) => value as String);
}

Future<String> getNostrKeyPair() {
return _invokeMethodWhenReady("getNostrKeyPair")
.then((value) => value as String);
}

Future<LNUrlPayInfo> fetchLNUrlPayInvoice(PayFetchResponse response) {
return _invokeMethodWhenReady(
"finishLNURLPay",
Expand Down
6 changes: 6 additions & 0 deletions lib/theme_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,11 @@ final VendorTheme lightsats = VendorTheme(
iconFgColor: Colors.white,
);

final VendorTheme snort = VendorTheme(
iconBgColor: Colors.black,
// iconFgColor: Colors.white,
);

final Map<String, VendorTheme> vendorTheme = {
"bitrefill": bitrefill,
"ln.pizza": lnpizza,
Expand All @@ -381,6 +386,7 @@ final Map<String, VendorTheme> vendorTheme = {
"fold": fold,
"wavlake": wavlake,
"lightsats": lightsats,
"snort": snort,
};

const TextStyle drawerItemTextStyle =
Expand Down
Loading

0 comments on commit 3f10d79

Please sign in to comment.