mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-05 10:29:23 +00:00
Remove nav pop
This commit is contained in:
parent
1e667f3f1a
commit
c636f32dd8
6 changed files with 40 additions and 2 deletions
|
@ -14,4 +14,15 @@
|
|||
<natures>
|
||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1680535977101</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
||||
|
|
|
@ -20,4 +20,15 @@
|
|||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1680535977148</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
||||
|
|
|
@ -20,4 +20,15 @@
|
|||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1680535977163</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
||||
|
|
|
@ -36,7 +36,6 @@ Future<void> loadCurrentWallet() async {
|
|||
buttonAction: () {
|
||||
Clipboard.setData(ClipboardData(text: wallet.seed));
|
||||
showBar<void>(navigatorKey.currentContext!,S.current.copied_to_clipboard);
|
||||
navigatorKey.currentState!.pop();
|
||||
}
|
||||
));
|
||||
// appStore.changeCurrentWallet(wallet);
|
||||
|
|
|
@ -328,4 +328,10 @@ class CWHaven extends Haven {
|
|||
@override
|
||||
List<AssetRate> getAssetRate() =>
|
||||
getRate().map((rate) => AssetRate(rate.getAssetType(), rate.getRate())).toList();
|
||||
|
||||
@override
|
||||
int getHeigthByDate({required DateTime date}) {
|
||||
// TODO: implement getHeigthByDate
|
||||
throw UnimplementedError();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ abstract class WalletKeysViewModelBase with Store {
|
|||
|
||||
Future<int?> currentHeight() async {
|
||||
if (_wallet.type == WalletType.haven) {
|
||||
return await haven!.getCurrentHeight();
|
||||
// return await haven!.getCurrentHeight();
|
||||
}
|
||||
if (_wallet.type == WalletType.monero) {
|
||||
return monero_wallet.getCurrentHeight();
|
||||
|
|
Loading…
Reference in a new issue