mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
utilize Fragment key
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
fbc853fa63
commit
fab51901f2
@ -154,7 +154,10 @@ abstract class BrowserController(args: Bundle) :
|
|||||||
fun changeSorting() {
|
fun changeSorting() {
|
||||||
val newFragment: DialogFragment = SortingOrderDialogFragment
|
val newFragment: DialogFragment = SortingOrderDialogFragment
|
||||||
.newInstance(FileSortOrder.getFileSortOrder(appPreferences?.sorting))
|
.newInstance(FileSortOrder.getFileSortOrder(appPreferences?.sorting))
|
||||||
newFragment.show((activity as MainActivity?)!!.supportFragmentManager, "SortingOrderDialogFragment")
|
newFragment.show(
|
||||||
|
(activity as MainActivity?)!!.supportFragmentManager,
|
||||||
|
SortingOrderDialogFragment.SORTING_ORDER_FRAGMENT
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
public override fun onDestroy() {
|
public override fun onDestroy() {
|
||||||
|
Loading…
Reference in New Issue
Block a user