close search view when going to preferences
This commit is contained in:
parent
aed24f97b9
commit
f0e08e94c6
2 changed files with 4 additions and 8 deletions
|
|
@ -24,7 +24,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
ret.isMobile = isMobile.any();
|
||||
ret.isWindowsPhoneApp = isMobile.Windows() && isCordova;
|
||||
var vanillaScope = ret;
|
||||
this.isSearching = false;
|
||||
|
||||
$rootScope.$emit('Local/Searching', false);
|
||||
|
||||
var disableScannerListener = $rootScope.$on('dataScanned', function(event, data) {
|
||||
self.setForm(data);
|
||||
|
|
@ -52,7 +53,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
self.addr = null;
|
||||
self.resetForm();
|
||||
$scope.search = '';
|
||||
$rootScope.$emit('Local/Searching', false);
|
||||
|
||||
if (profileService.focusedClient) {
|
||||
self.setAddress();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue