Skip to content

Commit 7270226

Browse files
Merge pull request #1204 from cypherstack/wl-sal1
many things
2 parents 324a020 + 90142c1 commit 7270226

166 files changed

Lines changed: 14144 additions & 11340 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,13 @@ crypto_plugins/cs_monero/built_outputs
112112
crypto_plugins/cs_monero/build
113113
crypto_plugins/*.diff
114114
/devtools_options.yaml
115+
116+
# generated interfaces
117+
lib/wl_gen/generated/
118+
119+
# normally these aren't ignored but WL changes them...
120+
/linux/flutter/generated_plugin_registrant.cc
121+
/windows/flutter/generated_plugin_registrant.cc
122+
/linux/flutter/generated_plugins.cmake
123+
/windows/flutter/generated_plugins.cmake
124+
/macos/Flutter/GeneratedPluginRegistrant.swift

analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ analyzer:
1818
- "crypto_plugins/**"
1919
- "bin/cache/**"
2020
- "lib/generated_plugin_registrant.dart"
21+
- "lib/wl_gen/generated/**"
22+
- '**/*.template.dart'
2123

2224
# For more information see:
2325
# https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks

ios/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Flutter/flutter_assets/
2626
Flutter/flutter_export_environment.sh
2727
ServiceDefinitions.json
2828
Runner/GeneratedPluginRegistrant.*
29+
Podfile.lock
2930

3031
# Exceptions to above rules.
3132
!default.mode1v3

ios/Podfile.lock

Lines changed: 0 additions & 257 deletions
This file was deleted.

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -43,6 +44,7 @@
4344
buildConfiguration = "Debug"
4445
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4546
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
4648
launchStyle = "0"
4749
useCustomWorkingDirectory = "NO"
4850
ignoresPersistentStateOnLaunch = "NO"

ios/Runner/AppDelegate.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import Flutter
77
_ application: UIApplication,
88
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
99
) -> Bool {
10-
let dummy = get_mnemonic()
11-
print(dummy)
1210
var flutter_native_splash = 1
1311
UIApplication.shared.isStatusBarHidden = false
1412

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#import "GeneratedPluginRegistrant.h"
2-
#import "libepic_cash_wallet.h"
1+
#import "GeneratedPluginRegistrant.h"

lib/app_config.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'wallets/crypto_currency/intermediate/frost_currency.dart';
66

77
part 'app_config.g.dart';
88

9-
enum AppFeature { themeSelection, buy, swap }
9+
enum AppFeature { themeSelection, buy, swap, tor }
1010

1111
abstract class AppConfig {
1212
static const appName = _prefix + _separator + suffix;
@@ -77,10 +77,9 @@ abstract class AppConfig {
7777
static CryptoCurrency getCryptoCurrencyByPrettyName(final String prettyName) {
7878
// trocador hack
7979
const hackSplitter = " (Mainnet";
80-
final name =
81-
prettyName.contains(hackSplitter)
82-
? prettyName.split(hackSplitter).first.toLowerCase()
83-
: prettyName.replaceAll(" ", "").toLowerCase();
80+
final name = prettyName.contains(hackSplitter)
81+
? prettyName.split(hackSplitter).first.toLowerCase()
82+
: prettyName.replaceAll(" ", "").toLowerCase();
8483

8584
try {
8685
return coins.firstWhere(

0 commit comments

Comments
 (0)