mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 03:49:43 +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>
|
<natures>
|
||||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||||
</natures>
|
</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>
|
</projectDescription>
|
||||||
|
|
|
@ -20,4 +20,15 @@
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||||
</natures>
|
</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>
|
</projectDescription>
|
||||||
|
|
|
@ -20,4 +20,15 @@
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||||
</natures>
|
</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>
|
</projectDescription>
|
||||||
|
|
|
@ -36,7 +36,6 @@ Future<void> loadCurrentWallet() async {
|
||||||
buttonAction: () {
|
buttonAction: () {
|
||||||
Clipboard.setData(ClipboardData(text: wallet.seed));
|
Clipboard.setData(ClipboardData(text: wallet.seed));
|
||||||
showBar<void>(navigatorKey.currentContext!,S.current.copied_to_clipboard);
|
showBar<void>(navigatorKey.currentContext!,S.current.copied_to_clipboard);
|
||||||
navigatorKey.currentState!.pop();
|
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
// appStore.changeCurrentWallet(wallet);
|
// appStore.changeCurrentWallet(wallet);
|
||||||
|
|
|
@ -328,4 +328,10 @@ class CWHaven extends Haven {
|
||||||
@override
|
@override
|
||||||
List<AssetRate> getAssetRate() =>
|
List<AssetRate> getAssetRate() =>
|
||||||
getRate().map((rate) => AssetRate(rate.getAssetType(), rate.getRate())).toList();
|
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 {
|
Future<int?> currentHeight() async {
|
||||||
if (_wallet.type == WalletType.haven) {
|
if (_wallet.type == WalletType.haven) {
|
||||||
return await haven!.getCurrentHeight();
|
// return await haven!.getCurrentHeight();
|
||||||
}
|
}
|
||||||
if (_wallet.type == WalletType.monero) {
|
if (_wallet.type == WalletType.monero) {
|
||||||
return monero_wallet.getCurrentHeight();
|
return monero_wallet.getCurrentHeight();
|
||||||
|
|
Loading…
Reference in a new issue