Disable prpr by default

Fix title overlay
This commit is contained in:
NekoInverter 2020-02-16 11:11:17 +08:00
parent f8f8191564
commit e87f93ad0e
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
2 changed files with 4 additions and 4 deletions

View File

@ -3494,9 +3494,9 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
@Override
public void didReceivedNotification(int id, int account, Object... args) {
if (actionBar != null)
if (actionBar != null && id != NotificationCenter.didUpdateConnectionState) {
actionBar.setTitle(getNekoTitle());
}
if (id == NotificationCenter.dialogsNeedReload) {
if (dialogsListFrozen) {

View File

@ -28,7 +28,7 @@ public class NekoConfig {
public static boolean showAddToSavedMessages = true;
public static boolean showReport = false;
public static boolean showPrPr = true;
public static boolean showPrPr = false;
public static boolean showViewHistory = true;
public static boolean showAdminActions = true;
public static boolean showChangePermissions = true;
@ -110,7 +110,7 @@ public class NekoConfig {
saveCacheToPrivateDirectory = preferences.getBoolean("saveCacheToPrivateDirectory", Build.VERSION.SDK_INT >= 24);
showAddToSavedMessages = preferences.getBoolean("showAddToSavedMessages", true);
showReport = preferences.getBoolean("showReport", false);
showPrPr = preferences.getBoolean("showPrPr", true);
showPrPr = preferences.getBoolean("showPrPr", false);
showViewHistory = preferences.getBoolean("showViewHistory", true);
showAdminActions = preferences.getBoolean("showAdminActions", true);
showChangePermissions = preferences.getBoolean("showChangePermissions", true);