Fix wrong package names.

This commit is contained in:
Alex Ning 2020-11-18 23:46:57 +08:00
parent 61c5682b06
commit ccde986d84
6 changed files with 27 additions and 24 deletions

View File

@ -1839,6 +1839,9 @@ public class ViewPostDetailActivity extends BaseActivity implements FlairBottomS
if (mSlidrInterface != null) { if (mSlidrInterface != null) {
mSlidrInterface.lock(); mSlidrInterface.lock();
} }
if (touchHelper != null) {
touchHelper.attachToRecyclerView(null);
}
} }
public void unlockSwipeRightToGoBack() { public void unlockSwipeRightToGoBack() {

View File

@ -4,17 +4,17 @@
<Preference <Preference
app:title="@string/settings_acknowledgement_master_title" app:title="@string/settings_acknowledgement_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.AcknowledgementFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.AcknowledgementFragment" />
<Preference <Preference
app:title="@string/settings_credits_master_title" app:title="@string/settings_credits_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.CreditsPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.CreditsPreferenceFragment" />
<Preference <Preference
android:key="translation" android:key="translation"
app:title="@string/settings_translation_title" app:title="@string/settings_translation_title"
app:summary="@string/settings_translation_summary" app:summary="@string/settings_translation_summary"
app:fragment="ml.docilealligator.infinityforreddit.Settings.TranslationFragment"/> app:fragment="ml.docilealligator.infinityforreddit.settings.TranslationFragment"/>
<Preference <Preference
android:key="open_source" android:key="open_source"

View File

@ -4,7 +4,7 @@
<Preference <Preference
app:title="@string/settings_preview_font_title" app:title="@string/settings_preview_font_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreviewFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.FontPreviewFragment" />
<PreferenceCategory <PreferenceCategory
app:title="@string/settings_font_summary" /> app:title="@string/settings_font_summary" />

View File

@ -46,6 +46,6 @@
<Preference <Preference
app:title="@string/settings_swipe_action_title" app:title="@string/settings_swipe_action_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.SwipeActionPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.SwipeActionPreferenceFragment" />
</PreferenceScreen> </PreferenceScreen>

View File

@ -5,23 +5,23 @@
<Preference <Preference
app:title="@string/settings_font_title" app:title="@string/settings_font_title"
app:icon="@drawable/ic_font_size_24dp" app:icon="@drawable/ic_font_size_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.FontPreferenceFragment" />
<Preference <Preference
app:key="immersive_interface_entry" app:key="immersive_interface_entry"
app:title="@string/settings_immersive_interface_title" app:title="@string/settings_immersive_interface_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.ImmersiveInterfacePreferenceFragment" app:fragment="ml.docilealligator.infinityforreddit.settings.ImmersiveInterfacePreferenceFragment"
app:isPreferenceVisible="false" /> app:isPreferenceVisible="false" />
<Preference <Preference
app:title="@string/settings_customize_tabs_in_main_page_title" app:title="@string/settings_customize_tabs_in_main_page_title"
app:summary="@string/only_for_logged_in_user" app:summary="@string/only_for_logged_in_user"
app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeMainPageTabsFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment" />
<Preference <Preference
app:title="@string/settings_customize_bottom_app_bar_title" app:title="@string/settings_customize_bottom_app_bar_title"
app:summary="@string/only_for_logged_in_user" app:summary="@string/only_for_logged_in_user"
app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeBottomAppBarFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeBottomAppBarFragment" />
<SwitchPreference <SwitchPreference
app:defaultValue="false" app:defaultValue="false"
@ -31,7 +31,7 @@
<Preference <Preference
app:title="@string/settings_time_format_title" app:title="@string/settings_time_format_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.TimeFormatPreferenceFragment" />
<SwitchPreference <SwitchPreference
app:defaultValue="false" app:defaultValue="false"
@ -84,7 +84,7 @@
<Preference <Preference
app:title="@string/settings_number_of_columns_in_post_feed_title" app:title="@string/settings_number_of_columns_in_post_feed_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.NumberOfColumnsInPostFeedPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />
<PreferenceCategory <PreferenceCategory
app:title="@string/settings_category_comment_title" /> app:title="@string/settings_category_comment_title" />

View File

@ -5,27 +5,27 @@
<Preference <Preference
app:icon="@drawable/ic_outline_notifications_24dp" app:icon="@drawable/ic_outline_notifications_24dp"
app:title="@string/settings_notification_master_title" app:title="@string/settings_notification_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.NotificationPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.NotificationPreferenceFragment" />
<Preference <Preference
app:icon="@drawable/ic_interface_24dp" app:icon="@drawable/ic_interface_24dp"
app:title="@string/settings_interface_title" app:title="@string/settings_interface_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.InterfacePreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.InterfacePreferenceFragment" />
<Preference <Preference
app:title="@string/settings_theme_title" app:title="@string/settings_theme_title"
app:icon="@drawable/ic_outline_color_lens_24dp" app:icon="@drawable/ic_outline_color_lens_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.ThemePreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.ThemePreferenceFragment" />
<Preference <Preference
app:icon="@drawable/ic_gesture_24dp" app:icon="@drawable/ic_gesture_24dp"
app:title="@string/settings_gestures_and_buttons_title" app:title="@string/settings_gestures_and_buttons_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.GesturesAndButtonsPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.GesturesAndButtonsPreferenceFragment" />
<Preference <Preference
app:title="@string/settigns_video_title" app:title="@string/settigns_video_title"
android:icon="@drawable/ic_outline_video_24dp" android:icon="@drawable/ic_outline_video_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.VideoPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.VideoPreferenceFragment" />
<ListPreference <ListPreference
app:defaultValue="2.5" app:defaultValue="2.5"
@ -39,43 +39,43 @@
<Preference <Preference
app:title="@string/settings_download_location_title" app:title="@string/settings_download_location_title"
android:icon="@drawable/ic_download_24dp" android:icon="@drawable/ic_download_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.DownloadLocationPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.DownloadLocationPreferenceFragment" />
<Preference <Preference
app:key="security" app:key="security"
app:title="@string/settings_security_title" app:title="@string/settings_security_title"
android:icon="@drawable/ic_security_24dp" android:icon="@drawable/ic_security_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.SecurityPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.SecurityPreferenceFragment" />
<Preference <Preference
app:key="security" app:key="security"
app:title="@string/settings_data_saving_mode" app:title="@string/settings_data_saving_mode"
app:icon="@drawable/ic_data_saving_mode_24dp" app:icon="@drawable/ic_data_saving_mode_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.DataSavingModePreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.DataSavingModePreferenceFragment" />
<Preference <Preference
app:icon="@drawable/ic_nsfw_on_24dp" app:icon="@drawable/ic_nsfw_on_24dp"
app:title="@string/settings_nsfw_and_spoiler_title" app:title="@string/settings_nsfw_and_spoiler_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.NsfwAndBlurringFragment"/> app:fragment="ml.docilealligator.infinityforreddit.settings.NsfwAndBlurringFragment"/>
<Preference <Preference
app:icon="@drawable/ic_filter_24dp" app:icon="@drawable/ic_filter_24dp"
app:title="@string/settings_filter_title" app:title="@string/settings_filter_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.FilterPreferenceFragment"/> app:fragment="ml.docilealligator.infinityforreddit.settings.FilterPreferenceFragment"/>
<Preference <Preference
app:icon="@drawable/ic_miscellaneous_24dp" app:icon="@drawable/ic_miscellaneous_24dp"
app:title="@string/settings_miscellaneous_title" app:title="@string/settings_miscellaneous_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.MiscellaneousPreferenceFragment"/> app:fragment="ml.docilealligator.infinityforreddit.settings.MiscellaneousPreferenceFragment"/>
<Preference <Preference
android:icon="@drawable/ic_advanced_24dp" android:icon="@drawable/ic_advanced_24dp"
app:title="@string/settings_advanced_master_title" app:title="@string/settings_advanced_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.AdvancedPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.AdvancedPreferenceFragment" />
<Preference <Preference
android:icon="@drawable/ic_about_24dp" android:icon="@drawable/ic_about_24dp"
app:title="@string/settings_about_master_title" app:title="@string/settings_about_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.AboutPreferenceFragment" /> app:fragment="ml.docilealligator.infinityforreddit.settings.AboutPreferenceFragment" />
</androidx.preference.PreferenceScreen> </androidx.preference.PreferenceScreen>