diff --git a/src/app/settings/settings.component.css b/src/app/settings/settings.component.css index d321fd1..f27b6b9 100644 --- a/src/app/settings/settings.component.css +++ b/src/app/settings/settings.component.css @@ -16,6 +16,10 @@ font-family: 'Spartan', sans-serif; } +.settings_toggle { + font-size: 12px; +} + .mat-slide-toggle-content { font-family: 'Spartan', sans-serif; } diff --git a/src/app/settings/settings.component.html b/src/app/settings/settings.component.html index 20d3ab8..c0b2296 100644 --- a/src/app/settings/settings.component.html +++ b/src/app/settings/settings.component.html @@ -1,7 +1,7 @@
Settings
-
+
Name @@ -20,12 +20,15 @@ Use zatoshis? +

 		
-			Activate payment confirmation?
+			Confirm payments?
 		
 		

 		
diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts
index 084129f..277c0ff 100644
--- a/src/app/settings/settings.component.ts
+++ b/src/app/settings/settings.component.ts
@@ -66,14 +66,19 @@ export class SettingsComponent implements OnInit {
 	}
 
 	save() {
-		console.log('Settings', this.settingsForm.value.vKey);
+		console.log('===> Saving Settins ');
+		console.log('viewnkey from Form: ' + this.settingsForm.value.vKey);
+		console.log('payconf from Form: ' + (this.settingsForm.value.useVKey?"On":"Off"));
 		this.owner.name = this.settingsForm.value.name;
 		this.owner.currency = this.settingsForm.value.currency;
 		this.owner.zats = this.settingsForm.value.useZats;
 		this.owner.payconf = this.settingsForm.value.useVKey;
+
 		this.owner.viewkey = this.settingsForm.value.vKey;
+		console.log('Save Settings from Owner.viewkey :' + this.owner.viewkey);
 
 		this.dialogRef.close(this.owner);
+		console.log("===> Settings dialog closed")
 	}
 
 	onChange(ob: MatSlideToggleChange) {