mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 02:34:59 +00:00
Revert default Cake Theme
add custom package id for test builds
This commit is contained in:
parent
28c3787f42
commit
410e6db034
2 changed files with 3 additions and 3 deletions
2
.github/workflows/pr_test_build.yml
vendored
2
.github/workflows/pr_test_build.yml
vendored
|
@ -149,7 +149,7 @@ jobs:
|
|||
echo "const ankrApiKey = '${{ secrets.ANKR_API_KEY }}';" >> cw_solana/lib/.secrets.g.dart
|
||||
|
||||
- name: Rename app
|
||||
run: echo -e "id=com.cakewallet.test\nname=${{ env.BRANCH_NAME }}" > /opt/android/cake_wallet/android/app.properties
|
||||
run: echo -e "id=com.cakewallet.test_${{ echo -n env.BRANCH_NAME | sha512sum }}\nname=${{ env.BRANCH_NAME }}" > /opt/android/cake_wallet/android/app.properties
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
|
|
@ -793,7 +793,7 @@ abstract class SettingsStoreBase with Store {
|
|||
final bool isNewInstall = sharedPreferences.getBool(PreferencesKey.isNewInstall) ?? true;
|
||||
final int defaultTheme;
|
||||
if (isNewInstall) {
|
||||
defaultTheme = isMoneroOnly ? ThemeList.moneroDarkTheme.raw : ThemeList.cakeDarkTheme.raw;
|
||||
defaultTheme = isMoneroOnly ? ThemeList.moneroDarkTheme.raw : ThemeList.brightTheme.raw;
|
||||
} else {
|
||||
defaultTheme = ThemeType.bright.index;
|
||||
}
|
||||
|
@ -1159,7 +1159,7 @@ abstract class SettingsStoreBase with Store {
|
|||
ExchangeApiMode.enabled.raw);
|
||||
currentTheme = ThemeList.deserialize(
|
||||
raw: sharedPreferences.getInt(PreferencesKey.currentTheme) ??
|
||||
(isMoneroOnly ? ThemeList.moneroDarkTheme.raw : ThemeList.cakeDarkTheme.raw));
|
||||
(isMoneroOnly ? ThemeList.moneroDarkTheme.raw : ThemeList.brightTheme.raw));
|
||||
actionlistDisplayMode = ObservableList<ActionListDisplayMode>();
|
||||
actionlistDisplayMode.addAll(deserializeActionlistDisplayModes(
|
||||
sharedPreferences.getInt(PreferencesKey.displayActionListModeKey) ?? defaultActionsMode));
|
||||
|
|
Loading…
Reference in a new issue