Skip to content

Commit da7a231

Browse files
authored
Several major bug fixes - cleanup
1 parent ba27137 commit da7a231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/walarm/wuasta/wuastaFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The day textview is set based on the day on which it is next set to (via the rep
142142
ftr1.detach(wuastaFragment.this).attach(wuastaFragment.this).commit();
143143
}
144144

145-
if(!sharedPref.getBoolean("today",true)){
145+
if(!sharedPref.getBoolean("today",true) && duration == null){
146146
if(toast != null) toast.cancel();
147147
toast = Toast.makeText(getActivity(), "Predicted time has passed, checking for the next possible day...", Toast.LENGTH_LONG);
148148
toast.show();}

0 commit comments

Comments
 (0)