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:
Tom Sherman
2025-02-13 01:11:13 +00:00
committed by GitHub
parent db25f95c33
commit d56efe250e
6 changed files with 106 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
import {device, useStorage} from '#/storage'
export function useDevModeEnabled() {
const [devModeEnabled = false, setDevModeEnabled] = useStorage(device, [
'devMode',
])
return [devModeEnabled, setDevModeEnabled] as const
}