From e7a59ed823cbf90ec1afbda1ded0ed41419460a7 Mon Sep 17 00:00:00 2001 From: kondeichmann <k.deichmann@mac.com> Date: Thu, 8 Feb 2018 11:32:00 +0100 Subject: [PATCH] more changes for html file --- enzevalos_iphone/AppDelegate.swift | 2 +- enzevalos_iphone/DebugSettings.swift | 2 +- enzevalos_iphone/Invitation/invitationText.html | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/enzevalos_iphone/AppDelegate.swift b/enzevalos_iphone/AppDelegate.swift index 71cbe5d4..aee8b0d0 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 52b873ae..7370e477 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 cfa1473e..d97192ca 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> -- GitLab