mirror of https://github.com/NekoX-Dev/NekoX.git
Ignore restrictions by default for non-play versions
This commit is contained in:
parent
22d8712fb0
commit
4546cdaaa1
|
@ -10,6 +10,7 @@ import android.graphics.Typeface;
|
|||
|
||||
import org.telegram.messenger.AndroidUtilities;
|
||||
import org.telegram.messenger.ApplicationLoader;
|
||||
import org.telegram.messenger.BuildVars;
|
||||
import org.telegram.messenger.FileLog;
|
||||
import org.telegram.messenger.LocaleController;
|
||||
import org.telegram.messenger.NotificationCenter;
|
||||
|
@ -297,7 +298,7 @@ public class NekoConfig {
|
|||
autoPauseVideo = preferences.getBoolean("autoPauseVideo", false);
|
||||
disableProximityEvents = preferences.getBoolean("disableProximityEvents", false);
|
||||
|
||||
ignoreContentRestrictions = preferences.getBoolean("ignoreContentRestrictions", false);
|
||||
ignoreContentRestrictions = preferences.getBoolean("ignoreContentRestrictions", !BuildVars.isPlay);
|
||||
useChatAttachMediaMenu = preferences.getBoolean("useChatAttachMediaMenu", true);
|
||||
disableLinkPreviewByDefault = preferences.getBoolean("disableLinkPreviewByDefault", false);
|
||||
sendCommentAfterForward = preferences.getBoolean("sendCommentAfterForward", true);
|
||||
|
|
|
@ -183,7 +183,7 @@
|
|||
<string name="ShareMyKey">Share My Public Key</string>
|
||||
<string name="DisableVibration">Disable Vibration</string>
|
||||
<string name="IgnoreContentRestrictions">Ignore content restrictions</string>
|
||||
<string name="IgnoreContentRestrictionsNotice">Ignores android restrictions on messages locally. This may be banned by the server in the future, and you will need to evaluate the local legality of this option yourself.</string>
|
||||
<string name="IgnoreContentRestrictionsNotice">Ignores play restrictions on messages.</string>
|
||||
<string name="SendCommentAfterForward">Send comment after forwarding</string>
|
||||
<string name="UnpinMessageX">Unpin message</string>
|
||||
<string name="UnpinMessagesAll">Unpin all messages</string>
|
||||
|
|
Loading…
Reference in New Issue