-
-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android: Move sharing logic to MainActivity.
Deletes 'ReceiveSharingActivity' and moves the 'handle receiving shares from other apps' logic to MainActivity, as this is a better, simpler logic and we don't have to maintain the dummy component 'SharingRoot' and an extra activity to show that. Also deletes the now unsued component 'SharingRoot'.
- Loading branch information
Showing
5 changed files
with
89 additions
and
131 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
109 changes: 0 additions & 109 deletions
109
android/app/src/main/java/com/zulipmobile/sharing/ReceiveShareActivity.kt
This file was deleted.
Oops, something went wrong.
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,7 +1,5 @@ | ||
/* @flow strict-local */ | ||
import { AppRegistry } from 'react-native'; | ||
import ZulipMobile from './src/ZulipMobile'; | ||
import SharingRoot from './src/sharing/SharingRoot'; | ||
|
||
AppRegistry.registerComponent('ZulipMobile', () => ZulipMobile); | ||
AppRegistry.registerComponent('SharingRoot', () => SharingRoot); |
This file was deleted.
Oops, something went wrong.