Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

Commit

Permalink
Rebase master
Browse files Browse the repository at this point in the history
  • Loading branch information
hewigovens committed Mar 9, 2018
1 parent d2755b2 commit 15aa971
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions Trust.xcodeproj/project.pbxproj
Expand Up @@ -2198,11 +2198,8 @@
children = (
902CAB582051818A00F96FFE /* BookmarkViewCell.xib */,
77B3BF492019247200EEC15A /* BrowserNavigationBar.swift */,
<<<<<<< master
902CAB5A2051835E00F96FFE /* BookmarkViewCell.swift */,
=======
BBB61E112050993A00428BBD /* BrowserErrorView.swift */,
>>>>>>> HEAD~0
);
path = Views;
sourceTree = "<group>";
Expand Down Expand Up @@ -2828,11 +2825,8 @@
29DBF2A71F9F145900327C60 /* StateViewModel.swift in Sources */,
2923D9B31FDA49F8000CF3F8 /* SkipBackupFilesInitializer.swift in Sources */,
294DFBA01FE0CADE004CEB56 /* TransactionDetailsViewModel.swift in Sources */,
<<<<<<< master
90DDF48520518AE50016E6D4 /* BookmarkViewModel.swift in Sources */,
=======
BBB61E122050993A00428BBD /* BrowserErrorView.swift in Sources */,
>>>>>>> HEAD~0
29C80D4B1FB51C460037B1E0 /* Decimal.swift in Sources */,
297800521F71FDCF003185C1 /* FormAppearance.swift in Sources */,
77B3BF3C201908ED00EEC15A /* ConfirmCoordinator.swift in Sources */,
Expand Down
3 changes: 2 additions & 1 deletion Trust/Browser/ViewControllers/BrowserViewController.swift
Expand Up @@ -46,7 +46,6 @@ class BrowserViewController: UIViewController {

lazy var errorView: BrowserErrorView = {
let errorView = BrowserErrorView()
errorView.isHidden = false
errorView.translatesAutoresizingMaskIntoConstraints = false
return errorView
}()
Expand Down Expand Up @@ -144,11 +143,13 @@ class BrowserViewController: UIViewController {

private func goHome() {
guard let url = URL(string: Constants.dappsBrowserURL) else { return }
hideErrorView()
webView.load(URLRequest(url: url))
browserNavBar?.textField.text = url.absoluteString
}

private func reload() {
hideErrorView()
webView.reload()
}

Expand Down
1 change: 0 additions & 1 deletion Trust/Browser/Views/BrowserErrorView.swift
Expand Up @@ -12,7 +12,6 @@ class BrowserErrorView: UIView {
label.numberOfLines = 0
label.textColor = Colors.gray
label.font = UIFont.systemFont(ofSize: 18)

label.translatesAutoresizingMaskIntoConstraints = false
return label
}()
Expand Down

0 comments on commit 15aa971

Please sign in to comment.