Ezerous
7 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
4 changed files with
8 additions and
8 deletions
-
app/src/main/java/gr/thmmy/mthmmy/activities/settings/SettingsFragment.java
-
app/src/main/res/xml/app_preferences.xml
|
|
@ -96,8 +96,8 @@ public class SettingsFragment extends PreferenceFragmentCompat implements Shared |
|
|
|
findPreference(POSTING_CATEGORY).setVisible(isLoggedIn); |
|
|
|
findPreference(POSTING_APP_SIGNATURE_ENABLE_KEY).setVisible(isLoggedIn); |
|
|
|
|
|
|
|
findPreference(UPLOADING_CATEGORY).setVisible(isLoggedIn); |
|
|
|
findPreference(UPLOADING_APP_SIGNATURE_ENABLE_KEY).setVisible(isLoggedIn); |
|
|
|
//findPreference(UPLOADING_CATEGORY).setVisible(isLoggedIn);
|
|
|
|
//findPreference(UPLOADING_APP_SIGNATURE_ENABLE_KEY).setVisible(isLoggedIn);
|
|
|
|
|
|
|
|
if (!isLoggedIn && defaultHomeTabEntries.contains("Unread")) { |
|
|
|
defaultHomeTabEntries.remove("Unread"); |
|
|
@ -171,8 +171,8 @@ public class SettingsFragment extends PreferenceFragmentCompat implements Shared |
|
|
|
findPreference(POSTING_CATEGORY).setVisible(isLoggedIn); |
|
|
|
findPreference(POSTING_APP_SIGNATURE_ENABLE_KEY).setVisible(isLoggedIn); |
|
|
|
|
|
|
|
findPreference(UPLOADING_CATEGORY).setVisible(isLoggedIn); |
|
|
|
findPreference(UPLOADING_APP_SIGNATURE_ENABLE_KEY).setVisible(isLoggedIn); |
|
|
|
//findPreference(UPLOADING_CATEGORY).setVisible(isLoggedIn);
|
|
|
|
//findPreference(UPLOADING_APP_SIGNATURE_ENABLE_KEY).setVisible(isLoggedIn);
|
|
|
|
|
|
|
|
if (!isLoggedIn && defaultHomeTabEntries.contains("Unread")) { |
|
|
|
defaultHomeTabEntries.remove("Unread"); |
|
|
|
|
|
@ -38,7 +38,7 @@ |
|
|
|
android:summary="@string/pref_summary_posting_app_signature_enable" /> |
|
|
|
</android.support.v7.preference.PreferenceCategory> |
|
|
|
|
|
|
|
<android.support.v7.preference.PreferenceCategory |
|
|
|
<!--<android.support.v7.preference.PreferenceCategory |
|
|
|
android:key="pref_category_uploading_key" |
|
|
|
android:title="@string/pref_category_uploading"> |
|
|
|
<android.support.v7.preference.SwitchPreferenceCompat |
|
|
@ -46,7 +46,7 @@ |
|
|
|
android:key="pref_uploading_app_signature_enable_key" |
|
|
|
android:title="@string/pref_title_uploading_app_signature_enable" |
|
|
|
android:summary="@string/pref_summary_uploading_app_signature_enable" /> |
|
|
|
</android.support.v7.preference.PreferenceCategory> |
|
|
|
</android.support.v7.preference.PreferenceCategory>--> |
|
|
|
|
|
|
|
<android.support.v7.preference.PreferenceCategory |
|
|
|
android:key="pref_category_privacy_key" |
|
|
|