shakal mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user