shakal mode

This commit is contained in:
gdlbo
2022-06-17 19:49:41 +03:00
parent c7820e2571
commit 7dd30d5169
2 changed files with 6 additions and 3 deletions
@@ -461,9 +461,8 @@ public class Preferences {
}
public static int compress(int origquality) {
if(!getBoolValue("compressPhotos", true)){
return 100;
}
if(getBoolValue("shakal", false)) return 5;
if(!getBoolValue("compressPhotos", true)) return 100;
return origquality;
}
+4
View File
@@ -69,6 +69,10 @@
android:defaultValue="true"
android:key="useNewSettings"
android:title="Use New Settings" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="false"
android:key="shakal"
android:title="shakalish pikchi da" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/debug_developer_functions">
<com.vtosters.lite.ui.MaterialSwitchPreference