Commit 01293d39 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk

UI: fix version name

Display a new version name on Welcome Screen

Change-Id: Iddabfbde9ce37b4f6f7a70bb6b2c37a7d855a509
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 798690eb
......@@ -114,7 +114,6 @@
<outlet property="createAccountButton" destination="bu0-90-MB5" id="YNt-Tc-Snc"/>
<outlet property="linkDeviceButton" destination="QLK-gs-fOJ" id="AXP-0r-10g"/>
<outlet property="welcomeTextLabel" destination="E4b-Zv-unB" id="ygV-A3-EZD"/>
<outlet property="welcomeTitleLabel" destination="Lbn-cd-UXk" id="32i-zZ-klu"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Yc1-qm-cpP" userLabel="First Responder" sceneMemberID="firstResponder"/>
......
......@@ -28,7 +28,6 @@ class WelcomeViewController: UIViewController, StoryboardBased, ViewModelBased {
typealias VMType = WelcomeViewModel
// MARK: outlets
@IBOutlet weak var welcomeTitleLabel: UILabel!
@IBOutlet weak var welcomeTextLabel: UILabel!
@IBOutlet weak var linkDeviceButton: DesignableButton!
@IBOutlet weak var createAccountButton: DesignableButton!
......@@ -41,7 +40,6 @@ class WelcomeViewController: UIViewController, StoryboardBased, ViewModelBased {
super.viewDidLoad()
// Bind ViewModel to View
self.viewModel.welcomeTitle.bind(to: self.welcomeTitleLabel.rx.text).disposed(by: self.disposeBag)
self.viewModel.welcomeText.bind(to: self.welcomeTextLabel.rx.text).disposed(by: self.disposeBag)
self.viewModel.createAccount.bind(to: self.createAccountButton.rx.title(for: .normal)).disposed(by: self.disposeBag)
self.viewModel.linkDevice.bind(to: self.linkDeviceButton.rx.title(for: .normal)).disposed(by: self.disposeBag)
......
......@@ -30,7 +30,6 @@ class WelcomeViewModel: Stateable, ViewModel {
}()
// MARK: - Rx Singles for L10n
let welcomeTitle = Observable<String>.of(L10n.Welcome.title)
let welcomeText = Observable<String>.of(L10n.Welcome.text)
let createAccount = Observable<String>.of(L10n.Welcome.createAccount)
let linkDevice = Observable<String>.of(L10n.Welcome.linkDevice)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment