Browse Source

Reintroduce action menus that were accidentally removed

Peter Cai 3 years ago
parent
commit
ec064f3410

+ 2 - 0
app/src/main/java/im/angry/openeuicc/ui/ProfileDownloadFragment.kt

@@ -57,6 +57,8 @@ class ProfileDownloadFragment : DialogFragment(), EuiccFragmentMarker, Toolbar.O
         profileDownloadCode = view.findViewById(R.id.profile_download_code)
         progress = view.findViewById(R.id.progress)
 
+        toolbar.inflateMenu(R.menu.fragment_profile_download)
+
         return view
     }
 

+ 2 - 0
app/src/main/java/im/angry/openeuicc/ui/ProfileRenameFragment.kt

@@ -52,6 +52,8 @@ class ProfileRenameFragment : DialogFragment(), EuiccFragmentMarker {
         profileRenameNewName = view.findViewById(R.id.profile_rename_new_name)
         progress = view.findViewById(R.id.progress)
 
+        toolbar.inflateMenu(R.menu.fragment_profile_rename)
+
         return view
     }