-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b12a65
commit 16a7ed5
Showing
16 changed files
with
81 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<divider textAlign="left"><h1>2.3.2</h1></divider> | ||
<divider textAlign="left"><h1>2.4.3</h1></divider> | ||
|
||
- Removed toolbar coloring | ||
- Added ability to view saved bluetooth devices | ||
> MMRL v2.19.18 is required to use this version! | ||
- Fixed bluetooth tab | ||
- Fixed imports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id=mmrl_wpd | ||
name=WiFi Password Viewer for MMRL | ||
version=2.3.2 | ||
versionCode=232 | ||
version=2.4.3 | ||
versionCode=243 | ||
author=Der_Googler, veez21 @ xda-developers | ||
description=View all your WiFi passwords and bluetooth devices inside MMRL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
system/usr/share/mmrl/config/mmrl_wpd/components/RenderToolbar.jsx
This file was deleted.
Oops, something went wrong.
47 changes: 31 additions & 16 deletions
47
system/usr/share/mmrl/config/mmrl_wpd/hooks/useBackHandler.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
import { useActivity, useConfirm } from "@mmrl/hooks"; | ||
|
||
export default () => { | ||
const useBackHandler = () => { | ||
const { context } = useActivity(); | ||
const confirm = useConfirm(); | ||
|
||
return (e) => { | ||
confirm({ | ||
title: "Leaving?", | ||
description: "Are you sure that you want leave this config?", | ||
confirmationText: "Yes", | ||
cancellationText: "No", | ||
}) | ||
.then(() => { | ||
if (typeof e.callParentHandler === "function") { | ||
e.callParentHandler(); | ||
} else { | ||
context.popPage(); | ||
} | ||
const [index, setIndex] = React.useState(0); | ||
|
||
const backHandler = React.useCallback((e) => { | ||
if (index === 0) { | ||
confirm({ | ||
title: "Leaving?", | ||
description: "Are you sure that you want leave this config?", | ||
confirmationText: "Yes", | ||
cancellationText: "No", | ||
}) | ||
.catch(() => {}); | ||
}; | ||
.then(() => { | ||
if (typeof e.callParentHandler === "function") { | ||
e.callParentHandler(); | ||
} else { | ||
context.popPage(); | ||
} | ||
}) | ||
.catch(() => { }); | ||
} else { | ||
setIndex(0) | ||
} | ||
}, [index]) | ||
|
||
return { | ||
handleBack: backHandler, | ||
index: index, | ||
setIndex: setIndex | ||
} | ||
|
||
}; | ||
|
||
export { useBackHandler } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters