Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jul 4, 2024
1 parent f1af4a1 commit 6aa60c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iOSClient/Account Settings/NCAccountSettingsModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class NCAccountSettingsModel: ObservableObject, ViewOnAppearHandling {
/// Function to know the height of "account" data
func getTableViewHeight() -> CGFloat {
guard let activeAccount else { return 0 }
var height: CGFloat = 190
var height: CGFloat = NCGlobal.shared.capabilityUserStatusEnabled ? 190 : 220
if NCGlobal.shared.capabilityUserStatusEnabled,
let tableAccount = NCManageDatabase.shared.getAccount(predicate: NSPredicate(format: "account == %@", activeAccount.account)) {
if !tableAccount.email.isEmpty { height += 30 }
Expand Down

0 comments on commit 6aa60c4

Please sign in to comment.