This commit is contained in:
Artur Savitskiy 2024-04-30 09:41:03 +02:00
parent 02bf0ea6a6
commit 4bad9a4455
7 changed files with 24 additions and 11 deletions

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,7 @@
"scale" : "2x"
},
{
"filename" : "limbach-gruppe-logo_3.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -212,18 +212,10 @@ class SupportController: UIViewController, UITextFieldDelegate, UIAlertViewDeleg
let txtTopic = self.support_txtTopic.text ?? ""
let txtMessage = self.support_txtMessage.text ?? ""
if(txtEMail.count == 0)
{
self.support_HideLoading(message: Core.Lang.Get(key: "ERROR_ENTER_EMAIL"))
}
else if(txtTopic.count == 0)
if(txtTopic.count == 0)
{
self.support_HideLoading(message: Core.Lang.Get(key: "ERROR_ENTER_TOPIC"))
}
else if(txtMessage.count == 0)
{
self.support_HideLoading(message: Core.Lang.Get(key: "ERROR_ENTER_TEXT"))
}
else
{
let deleteDevice = (txtTopic == Core.Lang.Get(key: "LBL_SUPPORT_TOPIC_ACCOUNT_DELETE"))
@ -233,8 +225,19 @@ class SupportController: UIViewController, UITextFieldDelegate, UIAlertViewDeleg
}
else
{
self.SendAsync(txtEmail: txtEMail, txtTopic: txtTopic, txtMessage: txtMessage, deleteDevice: deleteDevice)
self.support_btnSend.isEnabled = false
if(txtEMail.count == 0)
{
self.support_HideLoading(message: Core.Lang.Get(key: "ERROR_ENTER_EMAIL"))
}
else if(txtMessage.count == 0)
{
self.support_HideLoading(message: Core.Lang.Get(key: "ERROR_ENTER_TEXT"))
}
else
{
self.SendAsync(txtEmail: txtEMail, txtTopic: txtTopic, txtMessage: txtMessage, deleteDevice: deleteDevice)
self.support_btnSend.isEnabled = false
}
}
}

View File

@ -0,0 +1,9 @@
//
// File.swift
// Befund
//
// Created by Artur Savitskiy on 22.05.24.
// Copyright © 2024 MVZ Dr. Stein und Kollegen. All rights reserved.
//
import Foundation