mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-05 12:01:35 +00:00
Add Backup and restore. Update DirectoryChooser UI.
The updated backup and restore is backward compatible with old backup files. Just have updated the default file name and extension for newer backups.
This commit is contained in:
parent
056604d9bb
commit
05c0937c6f
35 changed files with 1387 additions and 898 deletions
|
|
@ -18,6 +18,8 @@
|
|||
<string name="clipboard_copied">Copied to clipboard!</string>
|
||||
<string name="report">Report</string>
|
||||
<string name="password">Password (Max 32 chars)</string>
|
||||
<string name="set_password">Set a password (max 32 chars)</string>
|
||||
<string name="password_no_max">Password</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="yes">Yes</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
|
@ -25,7 +27,7 @@
|
|||
<string name="confirm">Confirm</string>
|
||||
<string name="nav_up">Up</string>
|
||||
<string name="dont_show_again">Don\'t Show Again</string>
|
||||
<string name="selected_folder_label">Selected folder:</string>
|
||||
<string name="selected_folder_label">Current directory</string>
|
||||
<string name="title_favorites">Favorites</string>
|
||||
<string name="title_discover">Discover</string>
|
||||
<string name="title_comments">Comments</string>
|
||||
|
|
@ -126,16 +128,18 @@
|
|||
<string name="dialog_export_btn_export">Export</string>
|
||||
<string name="dialog_export_btn_import">Import</string>
|
||||
<string name="dialog_export_logins">Export Logins</string>
|
||||
<string name="dialog_export_settings">Export Settings</string>
|
||||
<string name="dialog_export_favorites">Export Favorites</string>
|
||||
<string name="dialog_import_settings">Import Settings</string>
|
||||
<string name="dialog_export_accounts">Accounts</string>
|
||||
<string name="dialog_export_settings">Settings</string>
|
||||
<string name="dialog_export_favorites">Favorites</string>
|
||||
<string name="dialog_import_settings">Import settings</string>
|
||||
<string name="dialog_import_logins">Import Logins</string>
|
||||
<string name="dialog_import_favorites">Import Favorites</string>
|
||||
<string name="dialog_import_accounts">Import accounts</string>
|
||||
<string name="dialog_import_favorites">Import favorites</string>
|
||||
<string name="dialog_import_success">Successfully imported!</string>
|
||||
<string name="dialog_import_failed">Failed to import!</string>
|
||||
<string name="dialog_export_success">Successfully exported!</string>
|
||||
<string name="dialog_export_failed">Failed to export!</string>
|
||||
<string name="dialog_export_err_password_empty">Password is empty! Password cannot be empt, dumbass!</string>
|
||||
<string name="dialog_export_err_password_empty">Password is empty!</string>
|
||||
<string name="refresh">Refresh</string>
|
||||
<string name="get_cookies">Get cookies</string>
|
||||
<string name="desktop_2fa">Desktop Mode</string>
|
||||
|
|
@ -292,4 +296,10 @@
|
|||
<string name="locations">Locations</string>
|
||||
<string name="unknown">Unknown</string>
|
||||
<string name="removed_from_favs">Removed from Favourites</string>
|
||||
<string name="backup_and_restore">Backup & Restore</string>
|
||||
<string name="create_backup">Create</string>
|
||||
<string name="restore_backup">Restore</string>
|
||||
<string name="file_chosen_label">File:</string>
|
||||
<string name="enter_password">Enter password</string>
|
||||
<string name="select_backup_file">Select a backup file (.zaai/.backup)</string>
|
||||
</resources>
|
||||
|
|
@ -57,7 +57,11 @@
|
|||
</style>
|
||||
|
||||
<style name="Widget.MaterialComponents.Button.Light.White" parent="Widget.MaterialComponents.Button">
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.Button.Dark.Black</item>
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.Button.Light.White</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.Button.Light.White" parent="">
|
||||
<item name="colorPrimary">@color/black</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.MaterialComponents.Button.Dark.Black" parent="Widget.MaterialComponents.Button">
|
||||
|
|
@ -110,12 +114,6 @@
|
|||
</style>
|
||||
|
||||
<style name="ThemeOverlay.MaterialComponents.MaterialAlertDialog.Light" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
||||
<!--<item name="colorPrimary">?attr/colorPrimaryDark</item>-->
|
||||
<!--<item name="colorSecondary">?attr/colorSecondaryVariant</item>-->
|
||||
<!--<item name="colorSurface">@color/shrine_pink_light</item>-->
|
||||
<!--<item name="colorOnSurface">@color/shrine_pink_900</item>-->
|
||||
<!--<item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialog.App.Title.Text</item>-->
|
||||
<!--<item name="colorPrimary">?attr/colorPrimaryDark</item>-->
|
||||
<item name="buttonBarPositiveButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Dialog.Light</item>
|
||||
<item name="buttonBarNeutralButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Dialog.Light</item>
|
||||
<item name="buttonBarNegativeButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Dialog.Light</item>
|
||||
|
|
@ -128,4 +126,15 @@
|
|||
<style name="ThemeOverlay.MaterialComponents.Button.TextButton.Light" parent="">
|
||||
<item name="colorPrimary">?attr/colorPrimaryDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Light.White" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox.Light.White</item>
|
||||
<item name="colorPrimary">@color/black</item>
|
||||
<item name="colorOnSurface">@color/black</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox.Light.White" parent="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox">
|
||||
<item name="colorPrimary">@color/black</item>
|
||||
<item name="colorOnSurface">@color/black</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
<item name="android:windowBackground">@color/white</item>
|
||||
<item name="bottomNavigationStyle">@style/Widget.BottomNavigationView.Light.White</item>
|
||||
<item name="materialButtonStyle">@style/Widget.MaterialComponents.Button.Light.White</item>
|
||||
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Light.White</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Light.Barinsta" parent="AppTheme.Light">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue