mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Deleting and editing posts are now available.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
<color name="primaryTextColor">#000000</color>
|
||||
|
||||
<color name="textColorPrimaryDark">@color/colorPrimaryDark</color>
|
||||
<color name="colorPrimaryDarkDayNightTheme">@color/colorPrimaryDark</color>
|
||||
|
||||
<color name="circularProgressBarBackground">#FFFFFF</color>
|
||||
|
||||
|
@@ -24,6 +24,8 @@
|
||||
<string name="action_stop_lazy_mode">Stop Lazy Mode</string>
|
||||
<string name="action_send">Send</string>
|
||||
<string name="action_sort">Sort</string>
|
||||
<string name="action_edit_post">Edit Post</string>
|
||||
<string name="action_delete_post">Delete Post</string>
|
||||
|
||||
<string name="parse_json_response_error">Error occurred when parsing the JSON response</string>
|
||||
<string name="retrieve_token_error">Error Retrieving the token</string>
|
||||
@@ -178,4 +180,13 @@
|
||||
<string name="log_out">Log out</string>
|
||||
<string name="press_here_to_login">Press here to login</string>
|
||||
<string name="login_first">Login first</string>
|
||||
|
||||
<string name="delete_this_post">Delete This Post</string>
|
||||
<string name="are_you_sure">Are you sure?</string>
|
||||
<string name="delete">Delete</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="delete_post_success">Delete successfully</string>
|
||||
<string name="delete_post_failed">Delete failed</string>
|
||||
|
||||
<string name="edit_success">Edit Successful</string>
|
||||
</resources>
|
||||
|
@@ -46,5 +46,18 @@
|
||||
<item name="tabBackground">?attr/selectableItemBackground</item>
|
||||
<item name="tabSelectedTextColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="MaterialAlertDialogTheme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
||||
<item name="buttonBarPositiveButtonStyle">@style/MaterialAlertDialogPositiveButtonStyle</item>
|
||||
<item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="MaterialAlertDialogPositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
||||
<item name="android:textColor">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="MaterialAlertDialogNegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
||||
<item name="android:textColor">@color/primaryTextColor</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user