Restore presentation conditions of active profile
On iPad it's already loaded in MainView().
This commit is contained in:
parent
c507c739bd
commit
dc66f514d9
|
@ -128,6 +128,16 @@ extension OrganizerView.ProfilesList {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func presentActiveProfile() {
|
private func presentActiveProfile() {
|
||||||
|
|
||||||
|
// do not present profile if:
|
||||||
|
//
|
||||||
|
// - an alert is active, as it would break navigation
|
||||||
|
// - on iPad, as it's already shown
|
||||||
|
//
|
||||||
|
guard alertType == nil, themeIdiom != .pad else {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
guard isFirstLaunch, profileManager.hasActiveProfile else {
|
guard isFirstLaunch, profileManager.hasActiveProfile else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue