Skip to content

Commit

Permalink
fix one mistake, forget removing unused feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hub committed Sep 4, 2024
1 parent e32d06a commit d2a80bc
Showing 1 changed file with 6 additions and 27 deletions.
33 changes: 6 additions & 27 deletions src/ui/BibleReferenceSettingTab.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,16 @@
import {
App,
DropdownComponent,
Notice,
PluginSettingTab,
Setting,
} from 'obsidian'
import { App, DropdownComponent, Notice, PluginSettingTab, Setting } from 'obsidian'
import BibleReferencePlugin from './../main'
import {
allBibleVersionsWithLanguageNameAlphabetically,
DEFAULT_BIBLE_VERSION,
} from '../data/BibleVersionCollection'
import { allBibleVersionsWithLanguageNameAlphabetically, DEFAULT_BIBLE_VERSION } from '../data/BibleVersionCollection'
import { IBibleVersion } from '../interfaces/IBibleVersion'
import {
BibleVerseReferenceLinkPosition,
BibleVerseReferenceLinkPositionCollection,
} from '../data/BibleVerseReferenceLinkPosition'
import {
BibleVerseFormat,
BibleVerseFormatCollection,
} from '../data/BibleVerseFormat'
import {
BibleVerseNumberFormat,
BibleVerseNumberFormatCollection,
} from '../data/BibleVerseNumberFormat'
import { FlagService } from '../provider/FeatureFlag'
import { BibleVerseFormat, BibleVerseFormatCollection } from '../data/BibleVerseFormat'
import { BibleVerseNumberFormat, BibleVerseNumberFormatCollection } from '../data/BibleVerseNumberFormat'
import { BibleAPISourceCollection } from '../data/BibleApiSourceCollection'
import { EventStats } from '../provider/EventStats'
import {
APP_NAMING,
BibleVersionNameLengthEnum,
OutgoingLinkPositionEnum,
} from '../data/constants'
import { APP_NAMING, BibleVersionNameLengthEnum, OutgoingLinkPositionEnum } from '../data/constants'
import { pluginEvent } from '../obsidian/PluginEvent'

export class BibleReferenceSettingTab extends PluginSettingTab {
Expand Down Expand Up @@ -211,8 +191,7 @@ Obsidian Bible Reference is proudly powered by
private setUpVersionSettingsAndVersionOptions(): void {
let allAvailableVersionOptions =
allBibleVersionsWithLanguageNameAlphabetically
const disableBibleAPI =
FlagService.instance.isFeatureEnabled('disable-bible-api')
const disableBibleAPI = false
if (disableBibleAPI) {
allAvailableVersionOptions = allAvailableVersionOptions.filter((v) => {
return v.apiSource.name !== BibleAPISourceCollection.bibleApi.name
Expand Down

0 comments on commit d2a80bc

Please sign in to comment.