Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

[IB2-351] Disabled showing offers except for German backend

  • Loading branch information
mahmoud-adam85 committed Aug 2, 2018
1 parent 411f426 commit e166926e57768b64e7340f4d344d3706edb56100
Showing with 2 additions and 0 deletions.
  1. +2 −0 Cliqz/MyOffrz/OffrzDataSource.swift
@@ -67,6 +67,8 @@ class OffrzDataSource {
}

func loadOffrz() {
guard SettingsPrefs.shared.getRegionPref() == "DE" else { return }

guard self.lastFetchDate == nil || Date().timeIntervalSince(self.lastFetchDate!) > self.expirationDuration else {
return
}

0 comments on commit e166926

Please sign in to comment.