mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-23 16:19:54 +01:00
Disable expiring warning as a workaround for i18n issue
This commit is contained in:
@@ -134,10 +134,11 @@ public class NavDrawerActivity extends BriarActivity implements
|
|||||||
navDrawerViewModel = provider.get(NavDrawerViewModel.class);
|
navDrawerViewModel = provider.get(NavDrawerViewModel.class);
|
||||||
pluginViewModel = provider.get(PluginViewModel.class);
|
pluginViewModel = provider.get(PluginViewModel.class);
|
||||||
|
|
||||||
if (IS_DEBUG_BUILD) {
|
// Disable expiry warning due to i18n problem
|
||||||
navDrawerViewModel.showExpiryWarning()
|
//if (IS_DEBUG_BUILD) {
|
||||||
.observe(this, this::showExpiryWarning);
|
//navDrawerViewModel.showExpiryWarning()
|
||||||
}
|
// .observe(this, this::showExpiryWarning);
|
||||||
|
//}
|
||||||
navDrawerViewModel.shouldAskForDozeWhitelisting().observe(this, ask -> {
|
navDrawerViewModel.shouldAskForDozeWhitelisting().observe(this, ask -> {
|
||||||
if (ask) showDozeDialog(getString(R.string.setup_doze_intro));
|
if (ask) showDozeDialog(getString(R.string.setup_doze_intro));
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user