Dan Ballard pushed to branch tor-browser-128.14.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
60be1522
by clairehurst at 2025-10-14T10:59:30-06:00
1 changed file:
Changes:
| 1 | 1 | package org.mozilla.fenix.tor
|
| 2 | 2 | |
| 3 | +import android.util.Log
|
|
| 3 | 4 | import androidx.compose.runtime.MutableState
|
| 4 | 5 | import androidx.compose.runtime.mutableStateOf
|
| 5 | 6 | import androidx.lifecycle.ViewModel
|
| 6 | 7 | import java.text.SimpleDateFormat
|
| 7 | 8 | import java.util.Date
|
| 8 | 9 | import kotlin.getValue
|
| 9 | -import org.mozilla.geckoview.BuildConfig
|
|
| 10 | 10 | |
| 11 | 11 | class TorCampaignViewModel : ViewModel() {
|
| 12 | 12 | val shouldInitiallyShowPromo: MutableState<Boolean> by lazy {
|
| ... | ... | @@ -26,7 +26,9 @@ class TorCampaignViewModel : ViewModel() { |
| 26 | 26 | if (currentDate.before(startDate) || currentDate.after(endDate)) {
|
| 27 | 27 | return false
|
| 28 | 28 | }
|
| 29 | - if (BuildConfig.BUILD_TYPE == "release") {
|
|
| 29 | + |
|
| 30 | + Log.d("TorCampaignViewModel", "org.mozilla.fenix.BuildConfig.BUILD_TYPE = ${org.mozilla.fenix.BuildConfig.BUILD_TYPE}")
|
|
| 31 | + if (org.mozilla.fenix.BuildConfig.BUILD_TYPE == "release") {
|
|
| 30 | 32 | return true
|
| 31 | 33 | }
|
| 32 | 34 | return false
|