make linux folder hidden

This commit is contained in:
Marco 2022-10-04 12:41:48 -06:00
parent 2de7692375
commit 956fa6a31c
5 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit bffdb9688a93d8b88940a332dc52243f3ab8169d
Subproject commit af5740e590cbd4d7a7c86592986288d9d568e23b

View file

@ -85,7 +85,7 @@ void main() async {
appDirectory = (await getLibraryDirectory());
}
if (Platform.isLinux || Logging.isArmLinux) {
appDirectory = Directory("${appDirectory.path}/stackwallet");
appDirectory = Directory("${appDirectory.path}/.stackwallet");
await appDirectory.create();
}
// FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);

View file

@ -260,7 +260,7 @@ Future<String> deleteEpicWallet({
appDir = (await getLibraryDirectory());
}
if (Platform.isLinux) {
appDir = Directory("${appDir.path}/stackwallet");
appDir = Directory("${appDir.path}/.stackwallet");
}
final path = "${appDir.path}/epiccash";
final String name = walletId;
@ -1236,7 +1236,7 @@ class EpicCashWallet extends CoinServiceAPI {
appDir = (await getLibraryDirectory());
}
if (Platform.isLinux) {
appDir = Directory("${appDir.path}/stackwallet");
appDir = Directory("${appDir.path}/.stackwallet");
}
final path = "${appDir.path}/epiccash";
final String name = _walletId.trim();

View file

@ -912,7 +912,7 @@ class MoneroWallet extends CoinServiceAPI {
}
//
if (Platform.isLinux) {
root = Directory("${root.path}/stackwallet");
root = Directory("${root.path}/.stackwallet");
}
final prefix = walletTypeToString(type).toLowerCase();
final walletsDir = Directory('${root.path}/wallets');

View file

@ -914,7 +914,7 @@ class WowneroWallet extends CoinServiceAPI {
root = (await getLibraryDirectory());
}
if (Platform.isLinux) {
root = Directory("${root.path}/stackwallet");
root = Directory("${root.path}/.stackwallet");
}
final prefix = walletTypeToString(type).toLowerCase();
final walletsDir = Directory('${root.path}/wallets');