Skip to content

Commit

Permalink
Update import/export bookmarks theming
Browse files Browse the repository at this point in the history
  • Loading branch information
d4r1091 committed May 15, 2024
1 parent 182a725 commit f8b7d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Client/Frontend/Library/Bookmarks/BookmarksPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@ extension BookmarksPanel {
self?.moreButton.isEnabled = true
}
let alert = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
alert.view.tintColor = UIColor.legacyTheme.ecosia.primaryButton
alert.popoverPresentationController?.barButtonItem = moreButton
[importAction, exportAction, cancelAction].forEach(alert.addAction)
present(alert, animated: true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ extension BookmarksPanelViewModel {
self.onImportDoneHandler = onDone
let documentPicker = UIDocumentPickerViewController(documentTypes: ["public.html"], in: .open)
documentPicker.allowsMultipleSelection = false
// Ecosia: Themeing
documentPicker.view.tintColor = UIColor.legacyTheme.ecosia.primaryButton
documentPicker.delegate = self
viewController.present(documentPicker, animated: true)
}
Expand Down

0 comments on commit f8b7d5d

Please sign in to comment.