diff --git a/src/components/mobile/PasswordInputSheet.vue b/src/components/mobile/PasswordInputSheet.vue index 97438181..116edd95 100644 --- a/src/components/mobile/PasswordInputSheet.vue +++ b/src/components/mobile/PasswordInputSheet.vue @@ -16,6 +16,7 @@ floating-label clear-button class="no-margin no-padding-bottom" + :class="color ? 'color-' + color : ''" :label="$t('Current Password')" :placeholder="$t('Current Password')" v-model:value="currentPassword" @@ -24,6 +25,7 @@ @@ -41,6 +43,7 @@ export default { 'modelValue', 'title', 'hint', + 'color', 'confirmDisabled', 'cancelDisabled', 'show' diff --git a/src/views/mobile/users/DataManagementPage.vue b/src/views/mobile/users/DataManagementPage.vue index 8cd3b7e0..0b409343 100644 --- a/src/views/mobile/users/DataManagementPage.vue +++ b/src/views/mobile/users/DataManagementPage.vue @@ -47,6 +47,7 @@ :hint="$t('You CANNOT undo this action. This will clear your accounts, categories, tags and transactions data. Please input your current password to confirm.')" :confirm-disabled="clearingData" :cancel-disabled="clearingData" + color="red" v-model:show="showInputPasswordSheetForClearData" v-model="currentPasswordForClearData" @password:confirm="clearData">