Add dev mode for easy copying of at:// URIs and DIDs (#7723)
* Add dev mode for easy copying at:// URIs and DIDs * Use storage API * Share text instead of URL * Cleanup persisted schema * Change translation msg
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import {device, useStorage} from '#/storage'
|
||||
|
||||
export function useDevModeEnabled() {
|
||||
const [devModeEnabled = false, setDevModeEnabled] = useStorage(device, [
|
||||
'devMode',
|
||||
])
|
||||
|
||||
return [devModeEnabled, setDevModeEnabled] as const
|
||||
}
|
||||
Reference in New Issue
Block a user