Some animation fixes
This commit is contained in:
@@ -2,6 +2,7 @@ package ru.vtosters.lite.utils;
|
||||
|
||||
import static ru.vtosters.lite.utils.Globals.getIdentifier;
|
||||
import static ru.vtosters.lite.utils.Globals.getPrefsValue;
|
||||
import static ru.vtosters.lite.utils.Globals.sendToast;
|
||||
|
||||
import android.content.res.Resources;
|
||||
|
||||
@@ -31,8 +32,10 @@ public class FragAnimationKit{
|
||||
private static final int SSTactCloseEnter = resources.getIdentifier("task_close_enter", "anim", "android");
|
||||
private static final int SSTactCloseExit = resources.getIdentifier("task_close_exit", "anim", "android");
|
||||
|
||||
public static void animateOpen(FragmentTransaction transaction){
|
||||
public static boolean animateOpen(FragmentTransaction transaction){
|
||||
setAnimations(transaction);
|
||||
|
||||
return getPrefsValue("anim_rtrn_type").equals("noanim") || getPrefsValue("anim_rtrn_type").isEmpty();
|
||||
}
|
||||
|
||||
public static void animateClose(FragmentTransaction transaction){
|
||||
|
||||
Reference in New Issue
Block a user