diff --git a/enzevalos_iphone/AppDelegate.swift b/enzevalos_iphone/AppDelegate.swift index 71cbe5d4b61f3ea19e96bb83422d352137652f0c..aee8b0d0e8441b2a44a3ff82dd1ec4dfa06ebb81 100644 --- a/enzevalos_iphone/AppDelegate.swift +++ b/enzevalos_iphone/AppDelegate.swift @@ -32,7 +32,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { kDefaultTitleFontSize = 33 kDefaultBodyFontSize = 23 } - InvitationUserDefaults.shouldNotShowSecondDialog.set(false) + resetApp() HockeySDK.setup() if (!UserDefaults.standard.bool(forKey: "launchedBefore")) { diff --git a/enzevalos_iphone/DebugSettings.swift b/enzevalos_iphone/DebugSettings.swift index 52b873ae32da05c0907693282872e47349db83c2..7370e47738ce26673d600a16933867103ee4f2c9 100644 --- a/enzevalos_iphone/DebugSettings.swift +++ b/enzevalos_iphone/DebugSettings.swift @@ -11,7 +11,7 @@ import Foundation private let pgp = SwiftPGP() private let datahandler = DataHandler.handler -let invitationEnabled = false +let invitationEnabled = true let SUPPORT_MAIL_ADR = "letterbox@inf.fu-berlin.de" let LOGGING_MAIL_ADR = "letterbox-reports@inf.fu-berlin.de" diff --git a/enzevalos_iphone/Invitation/invitationText.html b/enzevalos_iphone/Invitation/invitationText.html index cfa1473e080de1ec22bce1dc8f6dc207ef122d85..d97192caf0220d8a2d20bcb9a31924d678a1b46e 100644 --- a/enzevalos_iphone/Invitation/invitationText.html +++ b/enzevalos_iphone/Invitation/invitationText.html @@ -1,5 +1,6 @@ <!DOCTYPE html> <html> + <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"/> <style> @import url('https://fonts.googleapis.com/css?family=VT323'); @@ -16,7 +17,7 @@ hr { margin-top: 15px; - margin-bottom: 5px; + margin-bottom: 15px; } .body-text { @@ -32,8 +33,8 @@ background-color: #FF9800; color: #fff; max-width: 180px; - display: flex; padding: 8px; + display: flex; } .alert-text { @@ -44,10 +45,9 @@ .alert-icon { float: left; - vertical-align: middle; width: 24px; height: 24px; - margin-top: 4px; + margin-top: 7px; } </style> <body>