Skip to content

Commit

Permalink
Safari plugin: Part 1 #15
Browse files Browse the repository at this point in the history
Hack: it or `Divider()` required to display TranslatorView properly `Divider()` takes more space
  • Loading branch information
filimo committed Oct 5, 2019
1 parent bc40db1 commit e281898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReaderTranslator/Views/ReaderView/ReaderView_Safari.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ struct ReaderView_Safari: View {
Group {
if store.viewMode == .safari {
/** Hack: it or `Divider()` required to display TranslatorView properly `Divider()` takes more space **/
// Text("").frame(height: 1)
Text(store.selectedText) // temporarily disable
Text("").frame(height: 1)
// Text(store.selectedText) // temporarily disable
}
}
.onAppear {
Expand Down

0 comments on commit e281898

Please sign in to comment.