mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix icons loading
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.kunzisoft.keepass.activities.fragments
|
||||
|
||||
import android.os.Bundle
|
||||
import android.content.Context
|
||||
import com.kunzisoft.keepass.activities.stylish.StylishFragment
|
||||
import com.kunzisoft.keepass.database.element.Database
|
||||
|
||||
@@ -8,9 +8,8 @@ abstract class DatabaseFragment : StylishFragment() {
|
||||
|
||||
protected var mDatabase: Database? = null
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
override fun onAttach(context: Context) {
|
||||
super.onAttach(context)
|
||||
mDatabase = Database.getInstance()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user