Remove nav pop

This commit is contained in:
Godwin Asuquo 2023-04-03 21:08:17 +03:00
parent 1e667f3f1a
commit c636f32dd8
6 changed files with 40 additions and 2 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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);

View file

@ -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();
}
}

View file

@ -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();