mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
Compare commits
2 Commits
vault/pm-2
...
v2024.6.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ba577fecc | ||
|
|
6d875920d0 |
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -72,6 +72,7 @@ jobs:
|
|||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
branch: ${{ steps.branch.outputs.branch-name }}
|
branch: ${{ steps.branch.outputs.branch-name }}
|
||||||
|
skip_unpack: true
|
||||||
|
|
||||||
- name: Dry Run - Download all artifacts
|
- name: Dry Run - Download all artifacts
|
||||||
if: ${{ inputs.release_type == 'Dry Run' }}
|
if: ${{ inputs.release_type == 'Dry Run' }}
|
||||||
@@ -80,9 +81,15 @@ jobs:
|
|||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
branch: main
|
branch: main
|
||||||
|
skip_unpack: true
|
||||||
|
|
||||||
- name: Prep Bitwarden iOS release asset
|
- name: Unzip release assets
|
||||||
run: zip -r Bitwarden\ iOS.zip Bitwarden\ iOS
|
run: |
|
||||||
|
unzip bw-android-apk-sha256.txt.zip -d bw-android-apk-sha256.txt
|
||||||
|
unzip bw-fdroid-apk-sha256.txt.zip -d bw-fdroid-apk-sha256.txt
|
||||||
|
unzip com.x8bit.bitwarden-fdroid.apk.zip -d com.x8bit.bitwarden-fdroid.apk
|
||||||
|
unzip com.x8bit.bitwarden.aab.zip -d com.x8bit.bitwarden.aab
|
||||||
|
unzip com.x8bit.bitwarden.apk.zip -d com.x8bit.bitwarden.apk
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: ${{ inputs.release_type != 'Dry Run' }}
|
if: ${{ inputs.release_type != 'Dry Run' }}
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ namespace Bit.Core
|
|||||||
public const string PasswordlessLoginRequestKey = "passwordlessLoginRequest";
|
public const string PasswordlessLoginRequestKey = "passwordlessLoginRequest";
|
||||||
public const string PreLoginEmailKey = "preLoginEmailKey";
|
public const string PreLoginEmailKey = "preLoginEmailKey";
|
||||||
public const string ConfigsKey = "configsKey";
|
public const string ConfigsKey = "configsKey";
|
||||||
public const string DisplayEuEnvironmentFlag = "display-eu-environment";
|
|
||||||
public const string UnassignedItemsBannerFlag = "unassigned-items-banner";
|
public const string UnassignedItemsBannerFlag = "unassigned-items-banner";
|
||||||
public const string RegionEnvironment = "regionEnvironment";
|
public const string RegionEnvironment = "regionEnvironment";
|
||||||
public const string DuoCallback = "bitwarden://duo-callback";
|
public const string DuoCallback = "bitwarden://duo-callback";
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ namespace Bit.App.Pages
|
|||||||
private bool _rememberEmail;
|
private bool _rememberEmail;
|
||||||
private string _email;
|
private string _email;
|
||||||
private string _selectedEnvironmentName;
|
private string _selectedEnvironmentName;
|
||||||
private bool _displayEuEnvironment;
|
|
||||||
|
|
||||||
public HomeViewModel()
|
public HomeViewModel()
|
||||||
{
|
{
|
||||||
@@ -116,7 +115,6 @@ namespace Bit.App.Pages
|
|||||||
{
|
{
|
||||||
Email = await _stateService.GetRememberedEmailAsync();
|
Email = await _stateService.GetRememberedEmailAsync();
|
||||||
RememberEmail = !string.IsNullOrEmpty(Email);
|
RememberEmail = !string.IsNullOrEmpty(Email);
|
||||||
_displayEuEnvironment = await _configService.GetFeatureFlagBoolAsync(Constants.DisplayEuEnvironmentFlag, forceRefresh: true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task ContinueToLoginStepAsync()
|
public async Task ContinueToLoginStepAsync()
|
||||||
@@ -158,11 +156,7 @@ namespace Bit.App.Pages
|
|||||||
|
|
||||||
public async Task ShowEnvironmentPickerAsync()
|
public async Task ShowEnvironmentPickerAsync()
|
||||||
{
|
{
|
||||||
_displayEuEnvironment = await _configService.GetFeatureFlagBoolAsync(Constants.DisplayEuEnvironmentFlag);
|
var options = new string[] { BwRegion.US.Domain(), BwRegion.EU.Domain(), AppResources.SelfHosted };
|
||||||
var options = _displayEuEnvironment
|
|
||||||
? new string[] { BwRegion.US.Domain(), BwRegion.EU.Domain(), AppResources.SelfHosted }
|
|
||||||
: new string[] { BwRegion.US.Domain(), AppResources.SelfHosted };
|
|
||||||
|
|
||||||
await MainThread.InvokeOnMainThreadAsync(async () =>
|
await MainThread.InvokeOnMainThreadAsync(async () =>
|
||||||
{
|
{
|
||||||
var result = await _deviceActionService.Value.DisplayActionSheetAsync(AppResources.LoggingInOn, AppResources.Cancel, null, options);
|
var result = await _deviceActionService.Value.DisplayActionSheetAsync(AppResources.LoggingInOn, AppResources.Cancel, null, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user