Skip to content

Commit

Permalink
fixed Update documented minimum for loginWindowWidth and loginWindowH…
Browse files Browse the repository at this point in the history
…eight #91
  • Loading branch information
twocanoes committed Dec 12, 2023
1 parent 32b118f commit 2181442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XCredsLoginPlugIn/Mechanisms/XCredsLoginMechanism.swift
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,14 @@ import Network
TCSLogWithMark("checking for custom height and width")
if DefaultsOverride.standardOverride.object(forKey: PrefKeys.loginWindowWidth.rawValue) != nil {
let val = CGFloat(DefaultsOverride.standardOverride.float(forKey: PrefKeys.loginWindowWidth.rawValue))
if val > 100 {
if val > 149 {
TCSLogWithMark("setting loginWindowWidth to \(val)")
loginWindowWidth = val
}
}
if DefaultsOverride.standardOverride.object(forKey: PrefKeys.loginWindowHeight.rawValue) != nil {
let val = CGFloat(DefaultsOverride.standardOverride.float(forKey: PrefKeys.loginWindowHeight.rawValue))
if val > 100 {
if val > 149 {
TCSLogWithMark("setting loginWindowHeight to \(val)")
loginWindowHeight = val
}
Expand Down
Binary file not shown.

0 comments on commit 2181442

Please sign in to comment.