mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
refactor _getShowExchange -> _getEnableExchange
to be more semantically consistent
This commit is contained in:
parent
c64cde30a7
commit
b3e5f31e7e
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ class Prefs extends ChangeNotifier {
|
|||
_useTor = await _getUseTor();
|
||||
_fusionServerInfo = await _getFusionServerInfo();
|
||||
_autoPin = await _getAutoPin();
|
||||
_enableExchange = await _getShowExchange();
|
||||
_enableExchange = await _getEnableExchange();
|
||||
|
||||
_initialized = true;
|
||||
}
|
||||
|
@ -1151,7 +1151,7 @@ class Prefs extends ChangeNotifier {
|
|||
}
|
||||
}
|
||||
|
||||
Future<bool> _getShowExchange() async {
|
||||
Future<bool> _getEnableExchange() async {
|
||||
return await DB.instance.get<dynamic>(
|
||||
boxName: DB.boxNamePrefs,
|
||||
key: "showExchange",
|
||||
|
|
Loading…
Reference in a new issue