Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77b29b00 authored by Gabor Keszthelyi's avatar Gabor Keszthelyi Committed by Marten Gajda
Browse files

Always show Complete FAB on task details in single pane mode. #614 (#657)

parent 9b6c79f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ public class ViewTaskFragment extends SupportFragment
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
    {
        mShowFloatingActionButton = getResources().getBoolean(R.bool.opentasks_enabled_detail_view_fab);
        mShowFloatingActionButton = !getResources().getBoolean(R.bool.has_two_panes);

        mRootView = inflater.inflate(R.layout.fragment_task_view_detail, container, false);
        mContent = (ViewGroup) mRootView.findViewById(R.id.content);
+0 −1
Original line number Diff line number Diff line
@@ -2,6 +2,5 @@
<resources>

    <bool name="has_two_panes">true</bool>
    <bool name="opentasks_enabled_detail_view_fab">true</bool>

</resources>
 No newline at end of file
+0 −1
Original line number Diff line number Diff line
@@ -2,6 +2,5 @@
<resources>

    <bool name="has_two_panes">false</bool>
    <bool name="opentasks_enabled_detail_view_fab">false</bool>

</resources>
 No newline at end of file
+0 −1
Original line number Diff line number Diff line
@@ -2,6 +2,5 @@
<resources>

    <bool name="has_two_panes">false</bool>
    <bool name="opentasks_enabled_detail_view_fab">true</bool>

</resources>
 No newline at end of file